Skip to content

bottom-software-foundation/bottom-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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!"));