datagen-rs-types
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

@datagen-rs/types

The datagen-rs-types package provides TypeScript types for the datagen-rs-node package. This package includes a TypeScript JSON schema definition as well as the JSON schema itself. Additionally, types for creating node.js plugins are included.

Installation

npm install datagen-rs-types

Provided Types

JSON Schema

The JSON schema is provided as a TypeScript type and as a JSON file. The JSON schema file can be imported using

import { SchemaJson } from 'datagen-rs-types';

The base TypeScript definition for the JSON schema is generated by json-schema-to-typescript and can be imported using

import { Schema } from 'datagen-rs-types';

Node.js Plugin Types

The types for creating node.js plugins are also provided by this package. These types can be used to create plugins that can be used with the datagen-rs-node package. The main plugin type is DatagenPlugin and can be imported using

import { DatagenPlugin } from 'datagen-rs-types';

Check out the node.js plugin documentation for more information on creating node.js plugins.

Dependencies (0)

    Dev Dependencies (6)

    Package Sidebar

    Install

    npm i datagen-rs-types

    Weekly Downloads

    0

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    67.5 kB

    Total Files

    7

    Last publish

    Collaborators

    • markusjx