1.2.1 • Published 4 months ago

damon-utils v1.2.1

Weekly downloads
-
License
MPL-2.0
Repository
github
Last release
4 months ago

DAMON-utils

A post-processing library for DAMON

Installation

Node:

npm install damon-utils

Building

npm run watch # dev
npm run build # distribuable

Usage

Core methods:

const Damon = require('damon2'),
    DamonUtils = require('damon-utils);
let damon = new Damon(),
    damonUtils = new DamonUtils(damon);

let damonString = `
    - Divide: {}
        - n
        - Add: {}
            - 1
            - n`;

console.log(damonUtils.damonToSExpression(damonString));
// [
//     "Divide",
//     "n",
//     [
//         "Add",
//         "1",
//         "n"
//     ]
// ],

License

Copyright (c) Adrian Turcev. All rights reserved.

Licensed under the MPL-2.0 license.

1.2.1

4 months ago

1.1.0

5 months ago

1.0.1

6 months ago

1.0.0

6 months ago