
Product
Introducing Pull Request Stories to Help Security Teams Track Supply Chain Risks
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Compress a sorted word list (often called a dictionary) or decompress a file compressed by abridge
or GNU
word-list-compress
.
abridge
is a port of GNU word-list-compress to Rust. It doesn't have
anything to do with the GNU Aspell project. word-list-compress
is about 150 SLOC. abridge
is
about 50 SLOC. They perform identically.
abridge
is both a Rust library and CLI, so you can use abridge
in your Rust project or run it by itself. The CLI
expects input from stdin and will output to stdout.
It only relies on clap and Rust's built-in substring
crate.
You'll need the Rust compiler and Cargo. The easiest way to do that is to get rustup.
cargo install abridge
See abridge --help
.
abridge -c < words.txt # compress words.txt
abridge --decompress < words.tzip # decompress words.tzip
abridge --compress < words.txt > words.tzip # compress words.txt and save to words.tzip
abridge
can compress word lists where:
Words may include uppercase characters.
abridge
can decompress files compressed by abridge
or word-list-compress
alike.
Run cargo test
.
abridge
is licensed under GNU General Public License.
FAQs
Unknown package
We found that abridge demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.