@jsep-plugin/comment
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

npm size

@jsep-plugin/comment

A JSEP plugin for adding comment expression support. Allows expressions of the form:

jsep('a = 2 // end of line comment');
jsep('a /* ignore this */ += 2');
jsep('a /* ignore \n this */ ++');

Install

npm install @jsep-plugin/comment
# or
yarn add @jsep-plugin/comment

Usage

import jsep from 'jsep';
import jsepComment from '@jsep-plugin/comment';
jsep.plugins.register(jsepComment);

Meta

LICENSE (MIT)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    116
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    116
  • 1.0.2
    12
  • 1.0.1
    6
  • 1.0.0
    6

Package Sidebar

Install

npm i @jsep-plugin/comment

Weekly Downloads

140

Version

1.0.3

License

MIT

Unpacked Size

17.7 kB

Total Files

15

Last publish

Collaborators

  • 6utt3rfly
  • leaverou
  • smekkie
  • soney