s3-path
v1.1.0
Published
Node.js Path-like methods for dealing with S3 keys
Downloads
101
Readme
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