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

@yandeu/events

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yandeu/events - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

esm/index.mjs

0

cjs/index.d.ts

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /**

11

package.json
{
"name": "@yandeu/events",
"version": "0.0.1",
"version": "0.0.2",
"description": "Simplified and TypeScripted version of EventEmitter3@4.0.7",
"type": "module",
"type": "commonjs",
"main": "./cjs/index.js",
"exports": {
"import": "./cjs/index.js",
"require": "./esm/index.js"
},
"types": "./cjs/index.d.ts",
"author": "Yannick Deubel (https://github.com/yandeu)",

@@ -30,3 +27,3 @@ "license": "MIT",

"dev:tsc-esm": "tsc --project tsconfig.esm.json --watch",
"build": "npm-run-all build:*",
"build": "npm-run-all build:* && node scripts/rename.cjs",
"build:tsc-cjs": "tsc --project tsconfig.cjs.json",

@@ -33,0 +30,0 @@ "build:tsc-esm": "tsc --project tsconfig.esm.json",

@@ -25,4 +25,7 @@ # Events

```ts
import { Events } from '@yandeu/events'
const { Events } = require('@yandeu/events')
// (experimental ECMAScript modules for Node.js)
// import { Events } from '@yandeu/events/esm/index.mjs'
const events = new Events()

@@ -29,0 +32,0 @@

@@ -0,0 +0,0 @@ {

@@ -0,0 +0,0 @@ {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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