s3-path

1.1.0 • Public • Published

s3-path

Path-like methods for working with S3 keys.

const path = require('s3-path');
 
path.basename('some/file.txt', '.txt'); // file
path.dirname('some/file.txt'); // some
path.extname('some/file.txt'); // .txt
path.resolve('base', 'dir', 'file.txt'); // base/dir/file.txt

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.0
    44
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.0
    44
  • 1.0.0
    0

Package Sidebar

Install

npm i s3-path

Weekly Downloads

44

Version

1.1.0

License

MIT

Unpacked Size

2.5 kB

Total Files

4

Last publish

Collaborators

  • rschick