Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "enum-xyz", | ||
"type": "module", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "JavaScript enums using proxies.", | ||
@@ -6,0 +6,0 @@ "homepage": "https://github.com/chasefleming/enum-xyz", |
@@ -18,3 +18,3 @@ # enum-xyz | ||
``` | ||
const Enum = require('./index') | ||
import Enum from 'enum-xyz' | ||
@@ -32,3 +32,3 @@ const { Summer, Autumn, Winter, Spring } = Enum.String | ||
``` | ||
const Enum = require('./index') | ||
import Enum from 'enum-xyz' | ||
@@ -46,3 +46,3 @@ const { Summer, Autumn, Winter, Spring } = Enum.StringLower | ||
``` | ||
const Enum = require('./index') | ||
import Enum from 'enum-xyz' | ||
@@ -60,3 +60,3 @@ const { A, B, C, D } = Enum.String | ||
``` | ||
const Enum = require('./index') | ||
import Enum from 'enum-xyz' | ||
@@ -67,4 +67,4 @@ const { A, B, C, D } = Enum.NumericAt(1) | ||
console.log(B) // 2 | ||
console.log(C) // 4 | ||
console.log(C) // 3 | ||
console.log(D) // 4 | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15667