JSPM

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

A command line interpreter for the Pug SSML library to compile templates into a Node module.

Package Exports

  • pug-ssml-cli

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 (pug-ssml-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

pug-ssml-cli

A command line interpreter for the Pug SSML library to compile templates into a Node module.

Installation

pug-ssml is a peer dependency and must be present so you can install the version of your choice. It must be present in order to run the cli.

# Install the cli as a dev dependency.
npm install pug-ssml-cli --save-dev

# It is also required to install a version of pug-ssml.  You can install any compatible version.
npm install pug-ssml --version

You can now run the cli from the local bin directory. The cli is installed locally so that it can stay self contained within your project directory.

./node_modules/.bin/pug-ssml --templates ./templates

ToDo

Mixins

  • Determine a better way of importing mixins.

Testing

  • Add test cases and code coverage.

CI

  • Add travis support.

Terminal input

  • Accept input from the terminal.