Observed since 20 Oct, 22:04 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Generates files containing JavaScript classes and unit tests, based on a JSON schema.
Generates files containing JavaScript classes and unit tests, based on a JSON schema.
∅ Version: 0.0.2
∅ NPM: https://www.npmjs.com/package/@0bdx/gen-class
∅ Repo: https://github.com/0bdx/gen-class
∅ Homepage: https://0bdx.com/gen-class
@TODO add an overview
gen-class can be installed as dependency for programmatic use,
or as a command line app.
npm install @0bdx/gen-class --save-dev
import genClass from '@0bdx/gen-class';
console.log(genClass({
name: 'MyClass',
instance: {
scalars: [
{ isOk: { type: 'boolean' } }
]
}
}));
Make a folder called 'my/src/classes/', and a file called 'basic-class.json':
{
"name": "MyClass",
"instance": {
"scalars": [
{ "isOk": { type: "boolean" } }
]
}
}
npm install @0bdx/gen-class --global
gen-class --help
gen-class --version
gen-class examples/example-1/basic-class.json --output examples/example-1
gen-class my-class-definitions.json --output my/src/classes/
Download counts and popularity will appear here as the collector receives them.
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 22:04 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:d22168e67bc18222af72ac06606ce0606ef8c463f01dc3771b3c45812bef340a