包详细信息

@rubixibuc/briefcase

rubixibuc10Unlicense0.10.3

Visually hidden case formatting

brief, case, briefcase, formatting

自述文件

Build Status Coverage Status

briefcase 💼

Visually hidden case formatting

Getting started

Installation

```shell script npm i @rubixibuc/briefcase


#### Example

```js
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