# Package Discovery - Distribution channels - (**committed**) npm - bower - github - jspm - nuget - apm - atmosphere (meteor) - (**deferred**) Package name alias - Alias for different distribution channels vs name in registry - Versioning - Semver ranges in the registry and do intersection - Some distribution channels are not following semver - Server side API - e.g.: `/versions/:source/:package/:version/latest` # Typings Delivery - Delivery System - npm or typings/registry #3 `typings.json` # `.typingsrc` - per project - per user ``` js { "defaultSource": "{npm,bower,etc}" } ``` # Typings content # `typings` CLI - `typings install <identifier>` - Default `distribution channel` by: - `.typingsrc` - implicit determine - `typings sync` # Terminology - `source` vs `distribution channel` - `package` vs `module` - `source` as `source module` vs `target module/package` - TypeScript terms vs Typings current terms
Package Discovery
/versions/:source/:package/:version/latestTypings Delivery
Unified "install" #3
typings.json.typingsrcTypings content
typingsCLItypings install <identifier>distribution channelby:.typingsrctypings syncTerminology
sourcevsdistribution channelpackagevsmodulesourceassource modulevstarget module/package