- Add FileStream
- Add FileStream.download to be able to download files from URI
- Add lastFiles to get the last file modified by his time
- Fix bugs
- Centralize Types
- Upgrade packages
- Fix up inject() && .io().hasFolder
- Fix up folders and files method from 'io()'
- Change from ESBUILD to Webpack
- Test added
- Esbuild for building
- Update readme
- Update examples
- New method named 'back'. In which goes to the previous folder from the current one.
Ex:
Routes.instance((instance) => {
instance.set('src', 'example/test/abc');
}).namespace('Basic');
Routes.Basic.back('src'); // example/test instend of example/test/abc
// You can ajust the level
Routes.Basic.back('src', 2); // example instend of example/test/abc
- New method to access the File functions from FileManager. Use 'io()' function.
Route.Basic.io().accessFile(filepath);
- New method to get the name of the last folder name from a path.
Route.Basic.endWith('/example/test'); // test
- First release under @vorlefan/path
- Code packaged with webpack
- Test with Jest