This package has been deprecated

Author message:

Package migrated to @publicodes/tools: https://www.npmjs.com/package/@publicodes/tools

@incubateur-ademe/publicodes-tools

0.4.2 • Public • Published

@incubateur-ademe/publicodes-tools

Report BugAPI docsContributePublicodes

CI NPM

Set of utility functions that could be used to easily write tooling around Publicodes models.

⚠️ The project is currently in under experimentation and maintained by the nosgestesclimat.fr team. ⚠️

Features

  • 🏗️ Compiles your set of Publicodes files into a standalone JSON file - [doc]
  • 📦 Resolves import from external Publicodes models, from source and from published NPM packages - [doc]
  • 🪶 Pre-computes your model at compile time and reduces the number of rules by ~65% - [doc]

Installation

npm install --dev-dependency @incubateur-ademe/publicodes-tools

yarn add -D @incubateur-ademe/publicodes-tools

Usage in local

When developing in local:

  1. you can link the local package with yarn link,
  2. launch the compilation in watch mode with yarn watch,
  3. and use it in your project with yarn link @incubateur-ademe/publicodes-tools.

Package Sidebar

Install

npm i @incubateur-ademe/publicodes-tools

Weekly Downloads

12

Version

0.4.2

License

MIT

Unpacked Size

1.18 MB

Total Files

14

Last publish

Collaborators

  • florianpanchout
  • bios21
  • desoindx
  • bot-incubateur-ademe
  • clemog