spl-js-engine

4.0.5 • Public • Published

spl-js-engine

Software Product Line JavaScript Derivation Engine

Requirements

  • Node (> v16.14.2)

Install with npm

In the local folder/project: npm install spl-js-engine [--save-dev]

Global installation: npm install spl-js-engine --location=global

Running it: npx spl-js-engine help

Install from github

  • git clone https://github.com/AlexCortinas/spl-js-engine.git: Clone the repo
  • npm install: Installation.
  • npm test: Run all test (won't work on Windows without WSL).
  • npm run prepare: Set husky git hooks (linting).
  • [sudo] npm link: Globally link the client so spl-js-engine can be run anywhere.
  • npx spl-js-engine help: Usage page.

Documentation

Check the wiki.

Examples (github)

My Calculator

A simple web-based calculator made with Spring Boot and Angular

Generation of the product:

cd examples/MyCalculator
[npx] spl-js-engine --featureModel model.json \
    --product product.json \
    --config config.json \
    --extra extra.js \
    --code code \
    --output output
    [--verbose]

Running the generated product:

cd output
npm install
mvn spring-boot:run

# open http://localhost:8080/ on any web browser

Readme

Keywords

none

Package Sidebar

Install

npm i spl-js-engine

Weekly Downloads

15

Version

4.0.5

License

MIT

Unpacked Size

60.4 kB

Total Files

24

Last publish

Collaborators

  • alexcortinas