Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/metaes/metaes
JavaScript in JavaScript interpreter for better tools.
https://github.com/metaes/metaes
Last synced: 4 months ago
JSON representation
JavaScript in JavaScript interpreter for better tools.
- Host: GitHub
- URL: https://github.com/metaes/metaes
- Owner: metaes
- Created: 2015-06-01T13:16:23.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2023-04-16T14:34:14.000Z (about 1 year ago)
- Last Synced: 2024-03-17T16:47:23.357Z (4 months ago)
- Language: TypeScript
- Homepage: http://metaes.org
- Size: 918 KB
- Stars: 136
- Watchers: 8
- Forks: 10
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Lists
- awesome-javascript-interpreters - metaes/metaes - commit/metaes/metaes) | (javascript interpreters)
README
[![CircleCI](https://circleci.com/gh/metaes/metaes.svg?style=svg)](https://circleci.com/gh/metaes/metaes)
# MetaES
[MetaES](http://metaes.org/) is a JavaScript metacircular interpreter. It is a building block for other libraries and tools. It was created to speed up applications development.
Try it out at the [playground](http://metaes.org/playground.html).
## Installing
For the latest stable version:
```bash
npm install metaes
```For dev builds:
```bash
npm install metaes@dev
```## Using MetaES
It's highly recommended to read [docs](http://metaes.org/docs-metaes.html) first. You can skip it if you just want to use MetaES in a most basic way.
### node.js example
```javascript
const { metaesEval } = require("metaes");
metaesEval(`2+a`, console.log, console.error, { a: 2 });
```For browser usage you have to create build yourself using tools like Webpack, Parcel or others.
will print out `4`.
## Documentation
Available at [docs](http://metaes.org/docs-metaes.html) page.
## Development
For development repository installation use following:
```bash
git clone [email protected]:metaes/metaes.git
cd metaes
npm install
```## Testing
```bash
npm test
```## Contribution
Use GitHub [issues](https://github.com/metaes/metaes/issues) or [pull requests](https://github.com/metaes/metaes/pulls).
## License
MIT.