JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q36128F
  • License MIT

A command line tool to create npm compatible Espresso script packages.

Package Exports

  • @eslang/es-npm

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@eslang/es-npm) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

es-npm

A command line tool to create npm compatible Espresso packages.

Install

npm i -g @eslang/es-npm

Usage

mkdir my-espresso-app
cd my-espresso-app
es-npm init [default|app|module|api|web] [-c|--compact] [-d|--dev]

Templates

  • default - A project which may serve in both app and module modes.
  • app - A project which only serves as an app.
  • module - A project which only serves as a module.
  • api - An app project which serves as a RESTful service.
  • web - A web site project which serves as a web app.

Options

  • -c, --compact: remove test code and dependency on mocha.
  • -d, --dev: use development (non-published & unstable) branch of eslang.