{"name":"waitasecond","version":"1.11.78","description":"Waitasecond is a javascript library that makes managing async code and Promises simple and elegant. It provides an await-like API that can be used in the browser, worker, and node environment, making it a powerful tool for any project. Additionally, the l","sideEffects":false,"main":"./dist/main.js","types":"./dist/main.d.ts","exports":{".":"./dist/main.js","./forAllImagesInElement":"./dist/functions/forAllImagesInElement.js","./forAnimationFrame":"./dist/functions/forAnimationFrame.js","./forDocumentLoad":"./dist/functions/forDocumentLoad.js","./forDOMContentLoaded":"./dist/functions/forDOMContentLoaded.js","./forEver":"./dist/functions/forEver.js","./forImmediate":"./dist/functions/forImmediate.js","./forTime":"./dist/functions/forTime.js","./forTimeout":"./dist/functions/forTimeout.js","./forTimeSynced":"./dist/functions/forTimeSynced.js","./forValueDefined":"./dist/functions/forValueDefined.js"},"typesVersions":{"*":{"./forAllImagesInElement":["./dist/functions/forAllImagesInElement.d.ts"],"./forAnimationFrame":["./dist/functions/forAnimationFrame.d.ts"],"./forDocumentLoad":["./dist/functions/forDocumentLoad.d.ts"],"./forDOMContentLoaded":["./dist/functions/forDOMContentLoaded.d.ts"],"./forEver":["./dist/functions/forEver.d.ts"],"./forImmediate":["./dist/functions/forImmediate.d.ts"],"./forTime":["./dist/functions/forTime.d.ts"],"./forTimeout":["./dist/functions/forTimeout.d.ts"],"./forTimeSynced":["./dist/functions/forTimeSynced.d.ts"],"./forValueDefined":["./dist/functions/forValueDefined.d.ts"]}},"repository":{"type":"git","url":"git+https://github.com/hejny/waitasecond.git"},"author":{"name":"Pavol Hejný"},"license":"SEE LICENSE IN LICENSE","scripts":{"test":"npm run test-unit && npm run test-integration","test-unit":"jest --config jestconfig.json","test-integration":"","--TODO--test-integration":"cypress run","test-integration-interactive":"cypress open","samples-server":"ts-node-dev --project ./samples/samplesServer/tsconfig.json ./samples/samplesServer/samplesServer.ts","build":"tsc","build-watch":"tsc --watch","prettier":"prettier --config .prettierrc --write \"{src,test,.vscode}/**/*.{ts,json}\"","pretty-imports":"npx organize-imports-cli tsconfig.json","prettier-commit":"git diff --exit-code && npm run pretty-imports && npm run prettier && git add src && git commit --allow-empty -m \"Prettier\"","generate-documentation":"typedoc","generate-documentation-commit":"git diff --exit-code && npm run generate-documentation && git add docs && git commit --allow-empty -m \"Documentation\"","lint":"tslint -p tsconfig.json","generate-main-exports":"ts-node --project ./scripts/generate-main-exports/tsconfig.json ./scripts/generate-main-exports/generate-main-exports.ts","generate-main-exports-commit":"git diff --exit-code && npm run generate-main-exports && npm run prettier && git add src && git commit --allow-empty -m \"Updating exports\"","preversion":"npm run lint && npm test && npm run generate-main-exports-commit && npm run build && npm run prettier-commit","postversion":"npm run generate-documentation-commit && git push && git push --tags && npm publish"},"dependencies":{"ts-essentials":"8.1.0"},"devDependencies":{"@types/cypress-image-snapshot":"3.1.6","@types/express":"4.17.13","@types/jest":"27.0.1","@types/serve-index":"1.9.1","codecov":"3.8.3","cypress":"8.4.0","express":"4.17.1","express-throttle-bandwidth":"1.0.1","glob-promise":"4.2.0","jest":"27.2.0","onchange":"7.1.0","open":"8.2.1","organize-imports-cli":"0.8.0","prettier":"2.4.0","serve-index":"1.9.1","serve-static":"1.14.1","ts-jest":"27.0.5","ts-node":"10.2.1","ts-node-dev":"1.1.8","tslint":"5.20.1","tslint-config-prettier":"1.18.0","typedoc":"0.22.11","typescript":"4.4.3"},"funding":[{"type":"individual","url":"https://buymeacoffee.com/hejny"},{"type":"github","url":"https://github.com/hejny/waitasecond/blob/main/README.md#%EF%B8%8F-contributing"}],"gitHead":"cc31624798ce3bc1919bfc930e498a5dee89d3f7","bugs":{"url":"https://github.com/hejny/waitasecond/issues"},"homepage":"https://github.com/hejny/waitasecond#readme","_id":"waitasecond@1.11.78","_nodeVersion":"18.4.0","_npmVersion":"8.13.1","dist":{"shasum":"46d4bf1e5a85897c0cb2b15abb42de91c49a8941","size":26325,"noattachment":false,"key":"/waitasecond/-/waitasecond-1.11.78.tgz","tarball":"http://registry.cnpm.dingdandao.com/waitasecond/download/waitasecond-1.11.78.tgz"},"_npmUser":{"name":"hejny","email":"pavol@hejny.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/waitasecond_1.11.78_1718927830054_0.4940008860216538"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-06-20T23:57:10.222Z","publish_time":1718927830222,"_source_registry_name":"default","maintainers":[{"name":"hejny","email":""}],"_cnpm_publish_time":1718927830222,"dist-tags":{"latest":"1.11.149"}}