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

eventid

Package Overview
Dependencies
Maintainers
4
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eventid - npm Package Compare versions

Comparing version 0.1.2 to 1.0.0

build/src/index.d.ts

35

package.json
{
"name": "eventid",
"version": "0.1.2",
"version": "1.0.0",
"description": "A utility for generating monotonically increasing unique event ids across a network of services.",
"main": "lib/index.js",
"directories": {
"test": "test"
},
"main": "build/src/index.js",
"types": "build/src/index.d.ts",
"files": [
"build/src"
],
"scripts": {
"test": "mocha test/test.js",
"lint": "jshint ."
"test": "c8 mocha build/test",
"lint": "gts check",
"license-check": "jsgl --local .",
"clean": "gts clean",
"codecov": "c8 report --reporter=json && codecov -f coverage/*.json",
"compile": "tsc -p .",
"fix": "gts fix",
"prepare": "npm run compile",
"pretest": "npm run compile"
},

@@ -31,5 +39,14 @@ "repository": {

"devDependencies": {
"jshint": "^2.9.4",
"mocha": "^3.2.0"
"@types/mocha": "^5.2.6",
"@types/uuid": "^3.4.4",
"c8": "^6.0.0",
"codecov": "^3.6.1",
"gts": "^1.0.0",
"js-green-licenses": "^1.0.0",
"mocha": "^6.0.0",
"typescript": "~3.7.0"
},
"engines": {
"node": ">=8"
}
}

@@ -1,6 +0,8 @@

# Monotonically increasing per machine, globally unique eventids
# eventid
> Monotonically increasing per machine, globally unique eventids
[![CircleCI][circle-image]][circle-url]
[![Dependencies][david-image]][david-url]
[![Known Vulnerabilities][snyk-image]][snyk-url]
[![npm version](https://img.shields.io/npm/v/eventid.svg)](https://www.npmjs.org/package/eventid)
[![Build Status](https://circleci.com/gh/google/eventid-js.svg?style=shield)](https://circleci.com/gh/google/eventid-js)
[![Dependencies](https://david-dm.org/google/eventid-js.svg)](https://david-dm.org/google/eventid-js)
[![Known Vulnerabilities](https://snyk.io/test/github/google/eventid-js/badge.svg)](https://snyk.io/test/github/google/eventid-js)

@@ -17,2 +19,11 @@ ***Note: This is not an official Google product.***

## Installation
```sh
$ npm install eventid
```
## Usage
```js

@@ -36,7 +47,4 @@ const EventId = require('eventid');

[circle-image]: https://circleci.com/gh/google/eventid-js.svg?style=svg
[circle-url]: https://circleci.com/gh/google/eventid-js
[david-image]: https://david-dm.org/google/eventid-js.svg
[david-url]: https://david-dm.org/google/eventid-js
[snyk-image]: https://snyk.io/test/github/google/eventid-js/badge.svg
[snyk-url]: https://snyk.io/test/github/google/eventid-js
## License
[Apache 2.0](LICENSE)
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