@rubixibuc/briefcase

0.10.3 • Public • Published

Build Status Coverage Status

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() and decode() both return the passed value unchanged when given anything but non-empty string
  • decode() only accepts output from encode() and will throw new Error("encountered invalid character") otherwise

Package Sidebar

Install

npm i @rubixibuc/briefcase

Weekly Downloads

0

Version

0.10.3

License

Unlicense

Unpacked Size

7.51 kB

Total Files

9

Last publish

Collaborators

  • rubixibuc