New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

emune

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

emune

A quick enum package

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
10
66.67%
Maintainers
1
Weekly downloads
 
Created
Source

emune

emune build status

A basic JavaScript key mirror / enum utility.

mune was taken. Kudos!

Usage

$ npm install emune
import emune from 'emune'

// Using an Array of keys
console.log(
  emune(['blackhawks', 'islanders', 'bruins'])
) // => {blackhawks: 'blackhawks', islanders: 'islanders', bruins: 'bruins'}

// Using an Object
console.log(
  emune({cubs: null, mets: null, 'red sox': null})
) // => {cubs: 'cubs', mets: 'mets', 'red sox': 'red sox'}

Tests

$ npm t

FAQs

Package last updated on 11 Mar 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