Skip to content

Latest commit

 

History

History
68 lines (45 loc) · 1.23 KB

File metadata and controls

68 lines (45 loc) · 1.23 KB

1.6.3

  • 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

1.5.8

  • Fix up inject() && .io().hasFolder

1.5.6

  • Fix up .io().accessFile

1.5.5

  • Fix up folders and files method from 'io()'

1.5.4

  • Change from ESBUILD to Webpack

1.5.3

  • Test added
  • Esbuild for building
  • Update readme
  • Update examples

1.5.0

  • TypeScript version

1.4.1

  • 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

1.4.0

  • First release under @vorlefan/path
  • Code packaged with webpack
  • Test with Jest