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
)
Print version details from the registry.
- source The source to use (from
/search
) - name The name of the project (from
/search
)
Get all versions of an entry.
Get the latest version of an entry.
Get all versions matching a semver range.
- version A semantic version range
Get the latest version matching a semver range.
Get a specific entry version by tag.
- tag The tag from the version entry
Requires 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 dev
export DATABASE_URL="postgres://admin:admin@localhost:5432/typings_registry"
export NEW_RELIC_ENABLED=false
export NEW_RELIC_NO_CONFIG_FILE=true
export UA_ID=""
Apache 2.0