@structure-codes/is-nondot

1.1.2 • Public • Published

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.2
    6
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.2
    6
  • 1.1.1
    0
  • 1.1.0
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i @structure-codes/is-nondot

Weekly Downloads

6

Version

1.1.2

License

MIT

Unpacked Size

3.77 kB

Total Files

9

Last publish

Collaborators

  • hacksore
  • alex-oser