New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@zaml/parser

Package Overview
Dependencies
Maintainers
4
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zaml/parser

ZAML tokenizer & lexer

latest
Source
npmnpm
Version
0.7.1
Version published
Maintainers
4
Created
Source

zaml-parser

Javascript tokenizer & lexer for ZAML.

Thanks to Github ❤️ ci is integrated with Github Actions

Install

npm install @zaml/parser
# or
yarn add @zaml/parser

API Documentation

Checkout API Documentation

Usage

zaml.parse(text:string):Node

Parse a ZAML source code, and returns the root node of AST

Example

import zaml from 'zaml-parser';
const node = zaml.parse('Hello World!');
console.log(node);

Test

yarn test

Test with more info of tokenizing

DEBUG=verbose yarn test

License

MIT

FAQs

Package last updated on 29 Oct 2020

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