Package Exports
- gulp-natural-sort
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gulp-natural-sort) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
gulp-natural-sort
Sort stream by path name using a natural sort
Installation
npm install --save-dev gulp-natural-sortUsage
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