Socket
Book a DemoInstallSign in
Socket

@s1seven/schema-tools-certificate-model

Package Overview
Dependencies
Maintainers
4
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@s1seven/schema-tools-certificate-model

Tool to create class / instances specific to a schema

latest
Source
npmnpm
Version
0.3.17
Version published
Maintainers
4
Created
Source

Schema-tools-certificate-model

npm

The certificate-model module provides a class using template pattern to generate a class / instances based a given JSON schema.

Install

npm install @s1seven/schema-tools-certificate-model

Examples

The example uses the CertificateModel class in a function using process.argv.

First argument is the schema type, and the second argument is the version of the schema that should be loaded to create a classe extending CertificateModel.

node ./examples/certificate-model.js en10168-schemas v0.0.2

This library was generated with Nx.

Building

Run nx build certificate-model to build the library.

Running unit tests

Run nx test certificate-model to execute the unit tests via Jest.

FAQs

Package last updated on 09 Apr 2024

Did you know?

Socket

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.

Install

Related posts