Socket
Socket
Sign inDemoInstall

@webqit/subscript

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webqit/subscript

Customizable JavaScript runtime


Version published
Weekly downloads
3
decreased by-40%
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 24 Jul 2021

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc