Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
lioncore-typescript
Advanced tools
A TypeScript implementation for LIonWeb standards: the serialization JSON format, and the LIonCore meta-metamodel (M3).
This implementation is published as the lioncore-typescript
NPM package.
This repository also contains documentation, additional artifacts, and utilities.
Run the following command to run all unit tests:
$ npm test
(A watch mode is to be configured, still.) This command also builds all the source, which can be done separately as follows:
$ npm run build
Run the following command to statically style-check the source code:
$ npm run lint
Note that this does not catch TypeScript compilation errors.
Note that development tends to be done with the latest Node.js and NPM versions. Currently, these are v19.9.0 and 9.8.1.
The following is a list of links to potential starting points:
diagrams/metametamodel-gen.puml
is generated from the meta-circular self-definition of lioncore
.
This generated PlantUML file can then be compared with this one: they should have exactly the same contents apart from a couple of obvious differences.diagrams/
and models/
directories.
This can be run through the CLI command npm run generate-artifacts
.lioncore-typescript
..test.ts
.
Any such file tests the file under the same path in src/
that has the same name minus the .test
part.Run the following command to make "extractions" from a serialization chunk (e.g.):
node dist/src-cli/lioncore-cli.js extract models/meta/lioncore.json
This is meant as a way to inspect, reason about, and compare serialization because the format is rather verbose. These extractions are:
This CLI utility does not perform any explicit validation apart from the file at the given path existing and being valid JSON. It does some implicit validation as it can error out on incorrect serializations.
FAQs
LIonWeb core for {Java|Type}Script
The npm package lioncore-typescript receives a total of 0 weekly downloads. As such, lioncore-typescript popularity was classified as not popular.
We found that lioncore-typescript demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.