Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 325 Bytes

readme.md

File metadata and controls

14 lines (10 loc) · 325 Bytes

deployk-utils

utilities for deployk package

dirname usage

var dirmatch = require("deployk-utils").dirmatch;

dirmatch("test", "/path/to/test") // true!
dirmatch("test", "/path/to/test/file.js") // true!
dirmatch("path/**/test", "/path/to/test") // true!
dirmatch("/test", "/path/to/test") // false!