npm

Don't miss out on this year's npm Pride t-shirt designs!Order your favorites here »

gulp-natural-sort

0.1.1 • Public • Published

gulp-natural-sort

Build Status

Sort stream by path name using a natural sort

Installation

npm install --save-dev gulp-natural-sort

Usage

To reorder stream in ascending order:

return gulp.src(path.join(paths.tutorials, folder, 'markdown/*.md'))
  .pipe(naturalSort())
  .pipe(gulp.dest(paths.output));

To reorder stream in descending order pass the string 'desc':

.pipe(naturalSort('desc'))

License

MIT

install

npm i gulp-natural-sort

Downloadsweekly downloads

1,836

version

0.1.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability