@rubynetwork/rammerhead-browser

1.0.9 • Public • Published

Rammerhead Browser

  • Easily use Rammerhead from the browser!

Usage

  • If your using something like Vite:
import { RammerheadEncode } from '@rubynetwork/rammerhead-browser';

//use the function

RammerheadEncode('https://google.com', '/rammer/' /*This option can be ommited if this isn't behind a reverse proxy */);
  • No bundler:
<!DOCTYPE html>
<html>
    <head>
        <script src="https://unpkg.com/@rubynetwork/rammerhead-browser" defer />
    </head>
    <body>
        <script>
            RammerheadEncode('https://google.com', '/rammer/' /* Omit if not running behind a reverse proxy */);
        </script>
    </body>
</html>

Package Sidebar

Install

npm i @rubynetwork/rammerhead-browser

Weekly Downloads

7

Version

1.0.9

License

MIT

Unpacked Size

44.1 kB

Total Files

21

Last publish

Collaborators

  • motortruck