filter-changelog-paths
A Node module to extract CHANGELOG-like paths from multiple file paths
const filterChangelogPaths = ; ;//=> ['CHANGELOG.txt', 'project/docs/release_notes.md']
Installation
npm install filter-changelog-paths
API
const filterChangelogPaths = ;
filterChangelogPaths(filePaths)
filePaths: Array
of strings (file paths)
Return: Array
of strings
It filters a given array by using is-changelog-path as a filter function.
const filterChangelogPaths = ; ; //=> [] ; // throws a type error; // throws a type error; // throws a type error
filterChangelogPaths.posix(filePaths)
filePaths: Array
of strings (file paths)
Return: Array
of strings
Always interact in a posix compatible way.
filterChangelogPaths; //=> []
filterChangelogPaths.win32(filePaths)
filePaths: Array
of strings (file paths)
Return: Array
of strings
Always interact in a win32 compatible way.
filterChangelogPaths; //=> ['dir\\releases']
License
Copyright (c) 2015 Shinnosuke Watanabe
Licensed under the MIT License.