Socket
Socket
Sign inDemoInstall

@jsep-plugin/arrow

Package Overview
Dependencies
Maintainers
4
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jsep-plugin/arrow

Adds arrow-function support


Version published
Weekly downloads
5.5K
increased by19.02%
Maintainers
4
Weekly downloads
 
Created
Source

npm size

@jsep-plugin/arrow

A JSEP plugin for adding arrow-function support. Allows expressions of the form:

jsep('a.find(v => v === 1)');
jsep('a.map((v, i) => i)');
jsep('a.map(() => true)');

Install

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

Usage

import jsep from 'jsep';
import jsepArrow from '@jsep-plugin/arrow';
jsep.plugins.register(jsepArrow);

Meta

LICENSE (MIT)

FAQs

Package last updated on 18 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc