UNPKG

check-iterable

Version:

A toolbox to check if an object is iterable, an iterator or a generator, etc.

45 lines (44 loc) 1.32 kB
{ "name": "check-iterable", "version": "1.2.0", "description": "A toolbox to check if an object is iterable, an iterator or a generator, etc.", "main": "./index.cjs", "module": "./index.mjs", "types": "index.d.ts", "exports": { "require": "./index.cjs", "import": "./index.mjs", "types": "./index.d.ts" }, "scripts": { "test": "mocha test.cjs && mocha test.mjs", "test:bun": "bun run ./node_modules/mocha/bin/mocha test.cjs && bun run ./node_modules/mocha/bin/mocha test.mjs", "test:deno": "deno run test.ts" }, "repository": { "type": "git", "url": "git+https://github.com/ayonli/check-iterable.git" }, "keywords": [ "iterable", "iterator", "generator", "IterableIterator", "AsyncIterable", "AsyncIterator", "AsyncIterableIterator" ], "author": "A-yon Lee <the@ayon.li>", "license": "MIT", "bugs": { "url": "https://github.com/ayonli/check-iterable/issues" }, "homepage": "https://github.com/ayonli/check-iterable#readme", "devDependencies": { "@types/mocha": "^10.0.1", "@types/node": "^20.6.2", "mocha": "^10.2.0", "ts-node": "^10.9.1", "typescript": "^4.9.5" } }