UNPKG

unwind-array

Version:

Unwinds arrays in the similar way like MongoDB $unwind. Supports shallow and deep nested paths, defined as a string with dot notation.

39 lines (38 loc) 995 B
{ "name": "unwind-array", "version": "1.1.4", "description": "Unwinds arrays in the similar way like MongoDB $unwind. Supports shallow and deep nested paths, defined as a string with dot notation.", "main": "src/index.js", "scripts": { "test": "mocha", "lint": "prettier --write '{src/**/*.js,test/**/*.js}'", "lint-check": "prettier --check '{src/**/*.js,test/**/*.js}'", "validate": "npm ls" }, "repository": { "type": "git", "url": "git+https://github.com/evrastil/unwind-array.git" }, "types": "types/index.d.ts", "keywords": [ "unwind", "unwinder", "unwinding", "array" ], "author": "evrastil", "license": "MIT", "bugs": { "url": "https://github.com/evrastil/unwind-array/issues" }, "homepage": "https://github.com/evrastil/unwind-array#readme", "devDependencies": { "chai": "4.2.0", "prettier": "1.19.1", "mocha": "7.1.1", "precommit-hook": "3.0.0" }, "pre-commit": [ "lint-check" ] }