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

shimbol

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shimbol

A simple Symbol-like function to create one-off unique keys.

latest
Source
npmnpm
Version
0.1.2
Version published
Maintainers
1
Created
Source

shimbol()

Build Status Coverage Status

A simple Symbol-like function to create one-off unique keys.

It uses native Symbol() if available, it fallbacks with a unique ID as string in older browsers.

import shimbol from 'shimbol';
// or const shimbol = require('shimbol');

const uniqueKey = shimbol();
object[uniqueKey] = value;

Keywords

Symbol

FAQs

Package last updated on 16 Dec 2019

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