$ cnpm install is-hidden
Check if basename is hidden (starts with a dot).
This package is ESM only: Node 12+ is needed to use it and it must be imported
instead of required.
npm:
npm install is-hidden
import {isHidden} from 'is-hidden'
isHidden('.git') // => true
isHidden('readme.md') // => false
This package exports the following identifiers: isHidden.
There is no default export.
isHidden(basename)Check if basename is hidden (starts with a dot).
Copyright 2013 - present © cnpmjs.org | Home |