{"_id":"is-hidden","_rev":"368010","name":"is-hidden","description":"Check if `basename` is hidden (starts with a dot)","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"time":{"modified":"2021-07-19T07:34:08.000Z","created":"2015-08-26T17:24:34.667Z","2.0.0":"2021-03-11T11:21:06.342Z","1.1.3":"2020-01-25T12:38:23.730Z","1.1.2":"2019-05-12T09:02:37.048Z","1.1.1":"2017-07-27T15:34:47.976Z","1.1.0":"2016-11-07T20:09:18.561Z","1.0.1":"2015-08-26T20:21:32.241Z","1.0.0":"2015-08-26T17:24:34.667Z"},"users":{"rocket0191":true},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"repository":{"type":"git","url":"git+https://github.com/wooorm/is-hidden.git"},"versions":{"2.0.0":{"name":"is-hidden","version":"2.0.0","description":"Check if `basename` is hidden (starts with a dot)","license":"MIT","keywords":["file","is","hidden","dot","full","stop"],"repository":{"type":"git","url":"git+https://github.com/wooorm/is-hidden.git"},"bugs":{"url":"https://github.com/wooorm/is-hidden/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","devDependencies":{"@types/tape":"^4.0.0","c8":"^7.6.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","rimraf":"^3.0.0","tape":"^5.0.0","typescript":"^4.0.0","xo":"^0.38.0"},"scripts":{"prepublishOnly":"npm run build && npm run format","prebuild":"rimraf \"*.d.ts\"","build":"tsc","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.js","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"rules":{"no-var":"off","prefer-arrow-callback":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"9d1f1dbee1711de77c5c8a8a3a96714e3a0f4ff7","homepage":"https://github.com/wooorm/is-hidden#readme","_id":"is-hidden@2.0.0","_nodeVersion":"15.11.0","_npmVersion":"7.6.2","dist":{"shasum":"bf7461fdf98dffd8264e5cc98d046b4333d3cba3","size":2259,"noattachment":false,"key":"/is-hidden/-/is-hidden-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-hidden/download/is-hidden-2.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-hidden_2.0.0_1615461666202_0.2744620860875886"},"_hasShrinkwrap":false,"publish_time":1615461666342,"_cnpm_publish_time":1615461666342},"1.1.3":{"name":"is-hidden","version":"1.1.3","description":"Check if `filename` is hidden (starts with a dot)","license":"MIT","keywords":["file","is","hidden","dot","full","stop"],"repository":{"type":"git","url":"git+https://github.com/wooorm/is-hidden.git"},"bugs":{"url":"https://github.com/wooorm/is-hidden/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{},"devDependencies":{"browserify":"^16.0.0","nyc":"^15.0.0","prettier":"^1.0.0","remark-cli":"^7.0.0","remark-preset-wooorm":"^6.0.0","tape":"^4.0.0","tinyify":"^2.0.0","xo":"^0.25.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify . -s isHidden -o is-hidden.js","build-mangle":"browserify . -s isHidden -p tinyify -o is-hidden.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/prefer-type-error":"off"},"ignores":["is-hidden.js"]},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"0aaa7aba45396fa95a28bd102ee994799fd87c87","homepage":"https://github.com/wooorm/is-hidden#readme","_id":"is-hidden@1.1.3","_nodeVersion":"13.0.1","_npmVersion":"6.13.6","dist":{"shasum":"82e84cc7dbfffae42424d72037f80417f3b5e103","size":2065,"noattachment":false,"key":"/is-hidden/-/is-hidden-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-hidden/download/is-hidden-1.1.3.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-hidden_1.1.3_1579955903615_0.31737649979240534"},"_hasShrinkwrap":false,"publish_time":1579955903730,"_cnpm_publish_time":1579955903730},"1.1.2":{"name":"is-hidden","version":"1.1.2","description":"Check if `filename` is hidden (starts with a dot)","license":"MIT","keywords":["file","is","hidden","dot","full","stop"],"repository":{"type":"git","url":"git+https://github.com/wooorm/is-hidden.git"},"bugs":{"url":"https://github.com/wooorm/is-hidden/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{},"devDependencies":{"browserify":"^16.0.0","nyc":"^14.0.0","prettier":"^1.12.1","remark-cli":"^6.0.0","remark-preset-wooorm":"^4.0.0","tape":"^4.6.2","tinyify":"^2.5.0","xo":"^0.24.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify . -s isHidden -o is-hidden.js","build-mangle":"browserify . -s isHidden -p tinyify -o is-hidden.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/prefer-type-error":"off"},"ignores":["is-hidden.js"]},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"8a6882f734bf2351427cd2d4ec0f0aba0d7cd66b","homepage":"https://github.com/wooorm/is-hidden#readme","_id":"is-hidden@1.1.2","_nodeVersion":"11.9.0","_npmVersion":"6.9.0","dist":{"shasum":"6497d48ec5affc7da0f11a3c0dadceb6752e8edd","size":2050,"noattachment":false,"key":"/is-hidden/-/is-hidden-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-hidden/download/is-hidden-1.1.2.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-hidden_1.1.2_1557651756936_0.3215334484418213"},"_hasShrinkwrap":false,"publish_time":1557651757048,"_cnpm_publish_time":1557651757048},"1.1.1":{"name":"is-hidden","version":"1.1.1","description":"Check if `filename` is hidden (starts with a dot)","license":"MIT","keywords":["file","is","hidden","dot","full","stop"],"repository":{"type":"git","url":"git+https://github.com/wooorm/is-hidden.git"},"bugs":{"url":"https://github.com/wooorm/is-hidden/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"files":["index.js"],"dependencies":{},"devDependencies":{"browserify":"^14.0.0","esmangle":"^1.0.0","nyc":"^11.0.0","remark-cli":"^4.0.0","remark-preset-wooorm":"^3.0.0","tape":"^4.6.2","xo":"^0.18.0"},"scripts":{"build-md":"remark . -qfo","build-bundle":"browserify index.js --bare -s isHidden > is-hidden.js","build-mangle":"esmangle < is-hidden.js > is-hidden.min.js","build":"npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run build && npm run lint && npm run test-coverage"},"xo":{"space":true,"esnext":false,"rules":{"unicorn/prefer-type-error":"off"},"ignores":["is-hidden.js"]},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"ef2dab3acd3682523926d1464322079f007f2eab","homepage":"https://github.com/wooorm/is-hidden#readme","_id":"is-hidden@1.1.1","_npmVersion":"5.0.0","_nodeVersion":"8.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"82ee6a93aeef3fb007ad5b9457c0584d45329f38","size":1911,"noattachment":false,"key":"/is-hidden/-/is-hidden-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-hidden/download/is-hidden-1.1.1.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-hidden-1.1.1.tgz_1501169687040_0.7221041235607117"},"directories":{},"publish_time":1501169687976,"_hasShrinkwrap":false,"_cnpm_publish_time":1501169687976},"1.1.0":{"name":"is-hidden","version":"1.1.0","description":"Check if `filename` is hidden (starts with a dot)","license":"MIT","keywords":["file","is","hidden","dot","full","stop"],"repository":{"type":"git","url":"git+https://github.com/wooorm/is-hidden.git"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com"},"devDependencies":{"browserify":"^13.0.0","esmangle":"^1.0.0","nyc":"^8.4.0","remark-cli":"^2.1.0","remark-preset-wooorm":"^1.0.0","tape":"^4.6.2","xo":"^0.17.0"},"files":["index.js"],"scripts":{"build-md":"remark . --quiet --frail --output","build-bundle":"browserify index.js --bare -s isHidden > is-hidden.js","build-mangle":"esmangle < is-hidden.js > is-hidden.min.js","build":"npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run build && npm run lint && npm run test-coverage"},"xo":{"space":true,"ignores":["is-hidden.js"]},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"remarkConfig":{"presets":"wooorm"},"gitHead":"85b6f867f076428a7ac7364e1d0d6a8132edcff2","bugs":{"url":"https://github.com/wooorm/is-hidden/issues"},"homepage":"https://github.com/wooorm/is-hidden#readme","_id":"is-hidden@1.1.0","_shasum":"a9b04cfbc3a585c539c8c7c50a3414d91ee85119","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"a9b04cfbc3a585c539c8c7c50a3414d91ee85119","size":1842,"noattachment":false,"key":"/is-hidden/-/is-hidden-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-hidden/download/is-hidden-1.1.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/is-hidden-1.1.0.tgz_1478549357994_0.0181684629060328"},"directories":{},"publish_time":1478549358561,"_cnpm_publish_time":1478549358561,"_hasShrinkwrap":false},"1.0.1":{"name":"is-hidden","version":"1.0.1","description":"Check if `filename` is hidden (starts with a dot)","license":"MIT","keywords":["file","is","hidden","dot","full","stop"],"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/wooorm/is-hidden.git"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com"},"devDependencies":{"browserify":"^11.0.0","eslint":"^1.0.0","esmangle":"^1.0.0","istanbul":"^0.3.0","jscs":"^2.0.0","jscs-jsdoc":"^1.0.0","mdast":"^1.0.0","mdast-github":"^1.0.0","mdast-lint":"^1.0.0","mdast-toc":"^1.0.0","mdast-validate-links":"^1.0.0","mdast-yaml-config":"^1.0.0","mocha":"^2.0.0"},"scripts":{"test-api":"mocha --check-leaks test.js","test-coverage":"istanbul cover _mocha -- --check-leaks test.js","test-travis":"npm run test-coverage","test":"npm run test-api","lint-api":"eslint .","lint-style":"jscs --reporter inline .","lint":"npm run lint-api && npm run lint-style","make":"npm run lint && npm run test-coverage","build-md":"mdast . --quiet","build-bundle":"browserify index.js --bare -s isHidden > is-hidden.js","postbuild-bundle":"esmangle is-hidden.js > is-hidden.min.js","build":"npm run build-md && npm run build-bundle"},"gitHead":"747707805c10d1af7c3f245719c3157938c5b502","bugs":{"url":"https://github.com/wooorm/is-hidden/issues"},"homepage":"https://github.com/wooorm/is-hidden#readme","_id":"is-hidden@1.0.1","_shasum":"17d8d357da7ac3f8e43597b817b6ec4b6e035e1b","_from":".","_npmVersion":"2.13.2","_nodeVersion":"2.5.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"17d8d357da7ac3f8e43597b817b6ec4b6e035e1b","size":2269,"noattachment":false,"key":"/is-hidden/-/is-hidden-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-hidden/download/is-hidden-1.0.1.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"publish_time":1440620492241,"_cnpm_publish_time":1440620492241,"_hasShrinkwrap":false},"1.0.0":{"name":"is-hidden","version":"1.0.0","description":"Check if `filePath` is hidden (starts with a dot)","license":"MIT","keywords":["file","is","hidden","dot","full","stop"],"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/wooorm/is-hidden.git"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com"},"devDependencies":{"browserify":"^11.0.0","eslint":"^1.0.0","esmangle":"^1.0.0","istanbul":"^0.3.0","jscs":"^2.0.0","jscs-jsdoc":"^1.0.0","mdast":"^1.0.0","mdast-github":"^1.0.0","mdast-lint":"^1.0.0","mdast-yaml-config":"^1.0.0","mocha":"^2.0.0"},"scripts":{"test-api":"mocha --check-leaks test.js","test-coveralls":"istanbul cover _mocha --report lcovonly -- --check-leaks test.js","test-coverage":"istanbul cover _mocha -- --check-leaks test.js","test-travis":"npm run test-coveralls","test":"npm run test-api","lint-api":"eslint .","lint-style":"jscs --reporter inline .","lint":"npm run lint-api && npm run lint-style","make":"npm run lint && npm run test-coverage","build-md":"mdast . LICENSE --output --quiet","build-bundle":"browserify index.js --bare -s isHidden > is-hidden.js","postbuild-bundle":"esmangle is-hidden.js > is-hidden.min.js","build":"npm run build-md && npm run build-bundle"},"gitHead":"61579f7e67c8cc9414df6fdda7eb9cf16cb6552e","bugs":{"url":"https://github.com/wooorm/is-hidden/issues"},"homepage":"https://github.com/wooorm/is-hidden#readme","_id":"is-hidden@1.0.0","_shasum":"f393adaf238122b50549105c644c7b78732c9767","_from":".","_npmVersion":"2.13.2","_nodeVersion":"2.5.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"f393adaf238122b50549105c644c7b78732c9767","size":2252,"noattachment":false,"key":"/is-hidden/-/is-hidden-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-hidden/download/is-hidden-1.0.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"publish_time":1440609874667,"_cnpm_publish_time":1440609874667,"_hasShrinkwrap":false}},"readme":"# is-hidden\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n\nCheck if `basename` is hidden (starts with a dot).\n\n## Install\n\nThis package is ESM only: Node 12+ is needed to use it and it must be `import`ed\ninstead of `require`d.\n\n[npm][]:\n\n```sh\nnpm install is-hidden\n```\n\n## Use\n\n```js\nimport {isHidden} from 'is-hidden'\n\nisHidden('.git') // => true\nisHidden('readme.md') // => false\n```\n\n## API\n\nThis package exports the following identifiers: `isHidden`.\nThere is no default export.\n\n### `isHidden(basename)`\n\nCheck if `basename` is hidden (starts with a dot).\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n<!-- Definitions -->\n\n[build-badge]: https://github.com/wooorm/is-hidden/workflows/main/badge.svg\n\n[build]: https://github.com/wooorm/is-hidden/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/wooorm/is-hidden.svg\n\n[coverage]: https://codecov.io/github/wooorm/is-hidden\n\n[downloads-badge]: https://img.shields.io/npm/dm/is-hidden.svg\n\n[downloads]: https://www.npmjs.com/package/is-hidden\n\n[size-badge]: https://img.shields.io/bundlephobia/minzip/is-hidden.svg\n\n[size]: https://bundlephobia.com/result?p=is-hidden\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[license]: license\n\n[author]: https://wooorm.com\n","_attachments":{},"homepage":"https://github.com/wooorm/is-hidden#readme","bugs":{"url":"https://github.com/wooorm/is-hidden/issues"},"license":"MIT"}