Socket
Book a DemoInstallSign in
Socket

constant-mirror

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

constant-mirror - npm Package Compare versions

Comparing version

to
2.0.1

2

package.json
{
"name": "constant-mirror",
"version": "2.0.0",
"version": "2.0.1",
"description": "A simple tool for creating objects with keys mirrored as values. Inspired by React's keyMirror.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -23,5 +23,5 @@ # constant-mirror [![npm](https://img.shields.io/npm/v/constant-mirror.svg)](https://www.npmjs.com/package/constant-mirror) [![npm](https://img.shields.io/npm/dm/constant-mirror.svg)](https://www.npmjs.com/package/constant-mirror)

// ES6
import mirror from 'constant-mirror/symbol';
import mirror from 'constant-mirror/lib/symbol';
// or ES5
var mirror = require('constant-mirror/symbol');
var mirror = require('constant-mirror/lib/symbol');

@@ -28,0 +28,0 @@ mirror('HELLO', 'WORLD');

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.