1.3.0 • Published 11 months ago

@jplorg/jpl v1.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

JPL - JSON Processing Language - JavaScript implementation

Code example

import jpl from '@jplorg/jpl';

(async () => {
  const inputs = [null];

  const results = await jpl.run('"Hello, 🌎!"', inputs);

  console.log(...results);
})();

REPL

The package provides a CLI REPL, which can be used as a language playground.

> jpl-repl # or `npm --prefix js start`

Welcome to JPL v1.0.0.
Type ":h" for more information.

> "Hello, \('🌎', 'JPL')!"
"Hello, 🌎!", "Hello, JPL!"
>

Extending JPL

TODO: inform about the runtime API, functions, JPLTypes and different error types

1.2.0

1 year ago

1.1.0

1 year ago

1.3.0

11 months ago

1.0.0

1 year ago