Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stuartpb/msgpack-fs
Roll up a directory with MessagePack
https://github.com/stuartpb/msgpack-fs
Last synced: 7 days ago
JSON representation
Roll up a directory with MessagePack
- Host: GitHub
- URL: https://github.com/stuartpb/msgpack-fs
- Owner: stuartpb
- License: mit
- Created: 2014-02-14T01:06:48.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-02-17T02:32:47.000Z (almost 11 years ago)
- Last Synced: 2024-11-06T21:20:33.808Z (2 months ago)
- Language: JavaScript
- Size: 141 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# msgpack-fs
Roll up a file or directory with MessagePack
## Options
- `-n` : Trim whitespace on values.
- `-p, --parents=DEPTH` : Include specified path up to directory as keys in
message. The `-p` flag will include all specified path components, wheras
the `--parents=DEPTH` option specifies the number of levels to keep.
- `-k` : Effectively short for `--parents=1`: outputs messages as objects with
the filename as the key and the directory / file contents as the value.
- `-o=FILE` : Specify output file `FILE`. Existing file contents will be
clobbered.
- `-b` : Reserved for future use (if/when this library is updated to use the
msgpack v5 spec, will use the "bin" type for file contents).