dbrowser-dwebignore

1.0.0 • Public • Published

dbrowser-dwebignore

A module for reading and using .datignore files.

const datignore = require('dbrowser-dwebignore')
const anymatch = require('anymatch')

// convert a .datignore to rules that can be fed into anymatch()
const rules = datignore.toAnymatchRules(`
  .git
  .dat
  node_modules
  *.log
`)
anymatch(rules, ...)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    0

Package Sidebar

Install

npm i dbrowser-dwebignore

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

3.36 kB

Total Files

4

Last publish

Collaborators

  • shikhars3711