s3-path-0.0.1 has been yanked.
s3-path
Construct safe S3 keys (informally named paths in this library).
This library only allows the following characters to be used in path components:
[a..z],[A..Z],[0..9],-,_,.
The following path components are explicitly forbidden to avoid any path traversal when the S3 key is used as a filesystem path:
...
Usage
TODO
- Check for maximum key limit? Should be 1024 bytes (of UTF-8) on Amazon S3. What about MinIO, Ceph, ...?