0.4.1 • Published 1 year ago
@chialab/plasma v0.4.1
Plasma
Generate Custom Elements wrappers for Angular, React, Svelte and Vue.
!NOTE
plasmais the imperative form for the Italian verb plasmare, to shape in English.
Plasma transformations are based on Custom Element Manifest (CEM) specifications. The CEM is a JSON files that describes a Custom Element, its properties, events and slots. Plasma uses the CEM to generate wrappers for the supported frameworks.
You can generate the CEM for most of the Web Components library using this Analyzer.
Install
npm i -D @chialab/plasmaUsage
Plasma will try to autodetect the custom elements manifest (custom-elements.json) and will read the entrypoint from the package.json if not specified. The output directory will be ./dist/[framework] by default.
npm run plasmaDocumentation
License
Plasma is released under the MIT license.