1.0.3 • Published 2 years ago

@jsep-plugin/comment v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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)