The TypeScript definition registry.
Simple RESTful API for typings integration. Available at https://api.typings.org/.
Search known TypeScript definitions.
- query The search phrase
- name The exact name of the project
- source The source to search (from the registry +
dt
) - offset The offset to search from
- limit The maximum number of items to return (max:
50
) - ambient Search ambient module sources (default:
null
, boolean)
Print version details from the registry.
- source The source to use (from
/search
) - name The name of the project (from
/search
)
Find all versions, or versions matching a range.
- version A semantic version query (default:
*
)
Get the latest version matching the semver range.
Select a particular tag from the registry.
- tag The semver tag for the version
Requires Redis and Postgres. Run all migration scripts to get started.
# Clone and install dependencies.
git clone
npm install
# Run all migration scripts.
npm run migrate -- up -a
# Start the build and watch processes.
npm run build-watch
npm run start-watch
export DATABASE_URL="postgres://admin:admin@localhost:5432/typings_registry"
export REDIS_URL="redis://localhost:6379"
export QUEUE_UI_USERNAME="admin"
export QUEUE_UI_PASSWORD="admin"
export NEW_RELIC_ENABLED=false
export NEW_RELIC_NO_CONFIG_FILE=true
export UA_ID=""
Apache 2.0