MCPcopy
hub / github.com/jspm/jspm

github.com/jspm/jspm @4.6.1 sqlite

repository ↗ · DeepWiki ↗ · release 4.6.1 ↗
730 symbols 2,661 edges 319 files 70 documented · 10%
README


JSPM

Package management tools for the JSPM project, supporting import map package management.

Getting Started | Documentation | FAQ


This monorepo includes the following tools:

  • cli: jspm CLI tool
  • generator: JSPM Generator import map generation library (@jspm/generator)
  • import-map: JSPM Import Map low-level manipulation library (@jspm/import-map)

Features

  • Local Linking: map packages to your local node_modules folder
  • Common CDNs: Resolve against common CDNs like jspm.io, jsDelivr, UNPKG and more
  • Universal Semantics: Implements universal CDN resolution semantics, based on an extension of the Node.js resolution
  • Conditional Resolution: Map different versions of a module based on environment
  • Dependency Versioning: Respects the version constraints in local and remote package.json files
  • Package Entrypoints: Handles node-style package exports, imports and own-name resolution
  • Importmap Injection: Import map extraction/injection into HTML files, with module preloading and integrity attributes.

Documentation

  • JSPM CLI: https://jspm.org/docs/cli/
  • JSPM Generator: https://jspm.org/docs/generator/
  • Import Map: https://jspm.org/docs/import-map/
  • Getting Started: https://jspm.org/getting-started

Contributing

Build and test workflows use Chomp.

License

Apache-2.0

Extension points exported contracts — how you extend this code

CachedResponse (Interface)
(no doc) [2 implementers]
fetch/src/response.ts
IImportMap (Interface)
(no doc) [1 implementers]
import-map/src/map.ts
CachedAnalysis (Interface)
(no doc)
generator/src/generator.ts
Scenario (Interface)
(no doc)
cli/test/scenarios.ts
JspmConfig (Interface)
(no doc)
cli/src/config-cmd.ts
PersistentCache (Interface)
(no doc) [1 implementers]
fetch/src/core.ts
GeneratorCache (Interface)
(no doc)
generator/src/generator.ts
User (Interface)
(no doc)
cli/test/fixtures/scenario_build_app/helpers.ts

Core symbols most depended-on inside this repo

get
called by 141
fetch/src/core.ts
assert
called by 136
generator/src/trace/ts.ts
getMap
called by 129
generator/src/generator.ts
install
called by 122
generator/src/generator.ts
set
called by 80
fetch/src/core.ts
replace
called by 79
import-map/src/map.ts
run
called by 72
cli/test/scenarios.ts
add
called by 63
generator/src/trace/tracemap.ts

Shape

Function 466
Method 166
Interface 64
Class 34

Languages

TypeScript100%

Modules by API surface

cli/src/utils.ts56 symbols
generator/src/generator.ts48 symbols
generator/src/providers/index.ts36 symbols
plugin-rollup/transform-cjs-dew.cjs35 symbols
generator/src/trace/resolver.ts32 symbols
generator/src/trace/ts.ts29 symbols
import-map/src/map.ts27 symbols
fetch/src/core.ts24 symbols
generator/src/install/lock.ts23 symbols
generator/src/providers/jspm.ts22 symbols
generator/src/trace/tracemap.ts20 symbols
generator/src/install/installer.ts20 symbols

Dependencies from manifests, versioned

@babel/core7.24.7 · 1×
@babel/parser7.21.3 · 1×
@babel/plugin-syntax-import-attributes7.24.7 · 1×
@babel/preset-typescript7.24.7 · 1×
@jspm/core2.0.1 · 1×
@jspm/fetch0.1.0 · 1×
@jspm/generator2.16.0 · 1×
@jspm/import-map1.5.0 · 1×
@jspm/plugin-rollup3.0.0 · 1×
@spectrum-web-components/icons-workflow1.3.0 · 1×
@swc/cli0.8.1 · 1×

For agents

$ claude mcp add jspm \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact