{ "name": "onetime", "version": "5.1.2", "description": "Ensure a function is only called once", "license": "MIT", "repository": "sindresorhus/onetime", "funding": "https://github.com/sponsors/sindresorhus", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "https://sindresorhus.com" }, "engines": { "node": ">=6" }, "scripts": { "test": "xo && ava && tsd" }, "files": [ "index.js", "index.d.ts" ], "keywords": [ "once", "function", "one", "onetime", "func", "fn", "single", "call", "called", "prevent" ], "dependencies": { "mimic-fn": "^2.1.0" }, "devDependencies": { "ava": "^1.4.1", "tsd": "^0.7.1", "xo": "^0.24.0" }, "__npminstall_done": "Thu Dec 24 2020 20:20:54 GMT+0800 (CST)", "_from": "onetime@5.1.2", "_resolved": "https://registry.npm.taobao.org/onetime/download/onetime-5.1.2.tgz" }