Skip to content

A library to test if a filename is considered a to be a standard non-dotted dotfile

License

Notifications You must be signed in to change notification settings

structure-codes/is-nondot

Repository files navigation

is-nondot

A library to test if a filename is considered a to be a standard non-dotted dotfile

installation

npm install nondot

Usage

Typescript

import isNondot from "@structure-codes/is-nondot"

console.log(isNondot("minecraft")); // => false
console.log(isNondot("Makefile")); // => true

JavaScript

const isNondot = require("@structure-codes/is-nondot");

console.log(isNondot("minecraft")); // => false
console.log(isNondot("Makefile")); // => true

Supported files

See the non-dotted-dotfiles.json for the full list of files.

About

A library to test if a filename is considered a to be a standard non-dotted dotfile

Resources

License

Stars

Watchers

Forks

Packages

No packages published