{ "_args": [ [ { "raw": "@segment/loosely-validate-event@^1.1.2", "scope": "@segment", "escapedName": "@segment%2floosely-validate-event", "name": "@segment/loosely-validate-event", "rawSpec": "^1.1.2", "spec": ">=1.1.2 <2.0.0", "type": "range" }, "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/analytics-node" ] ], "_from": "@segment/loosely-validate-event@>=1.1.2 <2.0.0", "_id": "@segment/loosely-validate-event@1.1.2", "_inCache": true, "_location": "/@segment/loosely-validate-event", "_nodeVersion": "6.9.5", "_npmOperationalInternal": { "host": "packages-12-west.internal.npmjs.com", "tmp": "tmp/loosely-validate-event-1.1.2.tgz_1486761593637_0.4824127417523414" }, "_npmUser": { "name": "segment-admin", "email": "tools+npm@segment.com" }, "_npmVersion": "3.10.10", "_phantomChildren": {}, "_requested": { "raw": "@segment/loosely-validate-event@^1.1.2", "scope": "@segment", "escapedName": "@segment%2floosely-validate-event", "name": "@segment/loosely-validate-event", "rawSpec": "^1.1.2", "spec": ">=1.1.2 <2.0.0", "type": "range" }, "_requiredBy": [ "/analytics-node" ], "_resolved": "https://registry.npmjs.org/@segment/loosely-validate-event/-/loosely-validate-event-1.1.2.tgz", "_shasum": "d77840999e3f7e43e74b3b0d43391c1526f793b8", "_shrinkwrap": null, "_spec": "@segment/loosely-validate-event@^1.1.2", "_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/analytics-node", "dependencies": { "component-type": "^1.2.1", "join-component": "^1.1.0" }, "description": "Loosely validate an event.", "devDependencies": { "ava": "^0.18.0", "nyc": "^10.1.2", "standard": "^8.6.0" }, "directories": {}, "dist": { "shasum": "d77840999e3f7e43e74b3b0d43391c1526f793b8", "tarball": "https://registry.npmjs.org/@segment/loosely-validate-event/-/loosely-validate-event-1.1.2.tgz" }, "main": "index.js", "maintainers": [ { "name": "anoonan", "email": "amnoonann@gmail.com" }, { "name": "anthonyshort", "email": "antshort@gmail.com" }, { "name": "benjamin88", "email": "Bhoffman8@gmail.com" }, { "name": "calvinfo", "email": "calvin@calv.info" }, { "name": "ccnixon", "email": "chrisnxn@gmail.com" }, { "name": "chrisbuttery", "email": "info@chrisbuttery.com" }, { "name": "dominicbarnes", "email": "dominic@dbarnes.info" }, { "name": "emilyluckette", "email": "emily@segment.com" }, { "name": "hanothan", "email": "hankim813@gmail.com" }, { "name": "ivolo", "email": "ilya@segment.io" }, { "name": "jedwatson", "email": "jed.watson@me.com" }, { "name": "jgershen", "email": "joe@segment.com" }, { "name": "kevinburke", "email": "kev@inburke.com" }, { "name": "ladanazita", "email": "ladanazita@gmail.com" }, { "name": "lambtron", "email": "andyjiang@gmail.com" }, { "name": "ndhoule", "email": "nathan@nathanhoule.com" }, { "name": "nielst", "email": "NTerwiesch@gmail.com" }, { "name": "rbranson", "email": "rick@diodeware.com" }, { "name": "reinpk", "email": "reinpk@gmail.com" }, { "name": "rowno", "email": "rowno@webspirited.com" }, { "name": "segment-admin", "email": "tools+npm@segment.com" }, { "name": "segmentio", "email": "tools@segment.com" }, { "name": "srthurman", "email": "srthurman@gmail.com" }, { "name": "stephenmathieson", "email": "me@stephenmathieson.com" }, { "name": "stevenmiller888", "email": "stevenmiller888@me.com" }, { "name": "tejasmanohar", "email": "me@tejas.io" }, { "name": "thehydroimpulse", "email": "dnfagnan@gmail.com" }, { "name": "therebelrobot", "email": "npm@therebelrobot.com" }, { "name": "tidothegreat", "email": "tido@segment.com" }, { "name": "timhudson", "email": "tim.hudson15@gmail.com" }, { "name": "tonyxiao", "email": "tonyx.ca@gmail.com" }, { "name": "yields", "email": "yields@icloud.com" } ], "name": "@segment/loosely-validate-event", "nyc": { "reporter": [ "lcov", "html" ] }, "optionalDependencies": {}, "readme": "# @segment/loosely-validate-event\n\nLoosely validate an event.\n\n## Example\n\n```js\nconst validate = require('@segment/loosely-validate-event')\n\nconst event = {\n type: 'track',\n userId: 'abc123',\n properties: {\n foo: 'bar'\n }\n}\n\nvalidate(event) // throws if `event` does not pass validation\n```\n", "readmeFilename": "README.md", "scripts": { "coverage": "nyc ava", "test": "ava" }, "version": "1.1.2" }