UNPKG

times-loop

Version:

run a function n times, both sync and async functions are supported

46 lines (45 loc) 1.07 kB
{ "name": "times-loop", "version": "3.0.0", "description": "run a function n times, both sync and async functions are supported", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "directories": { "test": "test" }, "scripts": { "prepublish": "npm run build", "build": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json", "test": "jest --coverage" }, "repository": { "type": "git", "url": "https://github.com/tjmehta/times-loop.git" }, "keywords": [ "times", "loop", "n", "number", "iterator", "generator", "loops", "time" ], "author": "Tejesh Mehta", "license": "MIT", "bugs": { "url": "https://github.com/tjmehta/times-loop/issues" }, "homepage": "https://github.com/tjmehta/times-loop", "devDependencies": { "@babel/preset-env": "^7.10.2", "@babel/preset-typescript": "^7.10.1", "@types/jest": "^25.2.3", "babel-core": "^6.26.3", "babel-jest": "^26.0.1", "jest": "^26.0.1", "prettier": "^2.0.5", "typescript": "^3.9.3" } }