Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

enum-xyz

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enum-xyz - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

package.json
{
"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
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc