1.0.4 • Published 12 months ago

@jsep-plugin/comment v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

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)

1.0.4

12 months ago

1.0.3

3 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago