You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@lukeboyle/array-item-toggle

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lukeboyle/array-item-toggle

This is a simple boilerplate project to get started quickly with ES6 modules. The purpose of this is to make a module to easily publish on npm.

0.0.2
Source
npm
Version published
Maintainers
1
Created
Source

Array Item Toggle

A helper function to check if an item is:

  • in an array -> remove it from the array,
  • not in the array -> add it to the array

FAQs

Package last updated on 23 Jun 2016

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