@neuledge/states-parser
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

Neuledge States Parser

An state parser for Neuledge Engine state language.

This library is not intended to be used directly. It is a dependency of the main package.

📦 Installation

npm install @neuledge/states-parser

🚀 Getting started

import { parseStates } from '@neuledge/states-parser';

// parse a state file and return a document node
const doc = parseStates(`
  state Post {
    id: Integer;
    title: String;
    content: String;
    createdAt: DateTime;
    updatedAt: DateTime;
  }
`);

📄 License

Neuledge is Apache 2.0 licensed.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @neuledge/states-parser

      Weekly Downloads

      1

      Version

      0.1.2

      License

      Apache-2.0

      Unpacked Size

      224 kB

      Total Files

      132

      Last publish

      Collaborators

      • moshe