Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 854 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 854 Bytes

tEnvoy

More details coming soon...

Browser Import

For the browser, only /tenvoy.js or tenvoy.min.js is required and has all dependencies bundled inside the single file.

<script type="text/javascript" src="tenvoy.min.js"></script>
<script>
  const envoy = new tEnvoy();
</script>

Node.js Import

Minify

If you would like to minify the code yourself instead of using the provided tenvoy.min.js (and optional tenvoy.min.js.map), you can use UglifyJS 3 to minifiy the code yourself.

To install UglifyJS 3 as a command line app through NPM, run npm install uglify-js -g.

After UglifyJS 3 has been installed, you can run the following command in your terminal:

uglifyjs tenvoy.js -o tenvoy.min.js -c -m --source-map "filename='tenvoy.min.js.map',url='tenvoy.min.js.map'"