@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)

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i @jsep-plugin/comment

    Weekly Downloads

    170

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    17.7 kB

    Total Files

    15

    Last publish

    Collaborators

    • 6utt3rfly
    • leaverou
    • smekkie
    • soney