Socket
Socket
Sign inDemoInstall

@webqit/subscript

Package Overview
Dependencies
1
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @webqit/subscript

Customizable JavaScript runtime


Version published
Weekly downloads
44
increased by1000%
Maintainers
1
Install size
372 kB
Created
Weekly downloads
 

Readme

Source

Subscript

NPM version NPM downloads

Subscript is a pseudo implementation (parser + runtime) of the JavaScript language. It is used for parsing JavaScript code and executing them in user-defined context.

Subscript is currently at the core of the Scoped Scripts feature of the OOHTML technology. It is also light enough for simple language tooling.

Visit project homepage.

// parse() an expression
var exprObj = Subscript.parse(expr);

// get result with eval()
console.log(exprObj.eval());

Follow the installation guide to obtain this library.

Documentation

Issues

To report bugs or request features, please submit an issue.

License

MIT.

Keywords

FAQs

Last updated on 15 Jul 2021

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc