Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Latest commit

 

History

History
 
 

new

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

npm size

@jsep-plugin/new

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

jsep('new Date()');
jsep('new RegExp("^\d+$")');

Install

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

Usage

import jsep from 'jsep';
import jsepNew from '@jsep-plugin/new';
jsep.plugins.register(jsepNew);

Meta

LICENSE (MIT)