@lyo/pretty-ms
v4.0.0
Published
Browser-compatible version of pretty-ms
Downloads
10
Readme
@lyo/pretty-ms
A browser-compatible version of pretty-ms built automatically with Lyo.
Usage
In a browser
<script src="https://cdn.jsdelivr.net/npm/@lyo/pretty-ms"></script>
<script>
prettyMs(foo);
</script>
In Node.js
# Install
npm i @lyo/pretty-ms
const prettyMs = require('@lyo/pretty-ms')
prettyMs(foo);
Disclaimer
This automated Lyo build may have not been properly tested, and is not guaranteed to work perfectly.
Use at your own risk