Package Exports
- @rubixibuc/briefcase
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@rubixibuc/briefcase) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
briefcase 💼
Visually hidden case formatting
Getting started
Installation
npm i @rubixibuc/briefcase
Example
import { encode, decode } from "@rubixibuc/briefcase";
// string encoded to zero width non-printable characters
const encoded = encode("abc");
const decoded = decode(encoded);
// decoded === "abc"
encode()
anddecode()
both return the passed value unchanged when given anything but non-empty stringdecode()
only accepts output fromencode()
and will thrownew Error("encountered invalid character")
otherwise