Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 1.26 KB

README.md

File metadata and controls

55 lines (40 loc) · 1.26 KB

Bottomify

npm bundle size

Installation

Node:

$ npm i bottomify
# OR
$ yarn add bottomify

Deno:

import { encode, decode } from "https://deno.land/x/[email protected]/deno.ts";

Browser:

<!-- unpkg -->
<script src="https://unpkg.com/[email protected]/dist/bottomify.js"></script>
<!-- jsDelivr -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/bottomify.js"></script>

<!-- Minified -->

<!-- unpkg -->
<script src="https://unpkg.com/[email protected]/dist/bottomify.min.js"></script>
<!-- jsDelivr -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/bottomify.min.js"></script>

Command-line Interface

Currently this is not available for Deno users.

$ bottomify --bottomify test
💖💖✨🥺,👉👈💖💖,👉👈💖💖✨🥺👉👈💖💖✨🥺,👉👈
$ bottomify --regress 💖💖✨🥺,👉👈💖💖,👉👈💖💖✨🥺👉👈💖💖✨🥺,👉👈
test
$ bottomify --bottomify --input test.top
💖💖✨🥺,👉👈💖💖,👉👈💖💖✨🥺👉👈💖💖✨🥺,👉👈
$ bottomify --bottomify test --output test.btm

Examples

console.log(encode("Hello World!"));