constant-mirror
Advanced tools
Comparing version
{ | ||
"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 [](https://www.npmjs.com/package/constant-mirror) [](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'); |
5765
0.14%