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

/s3-path/

    Package Sidebar

    Install

    npm i s3-path

    Weekly Downloads

    14

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    2.5 kB

    Total Files

    4

    Last publish

    Collaborators

    • rschick