fixwidth

1.0.0 • Public • Published

test

mocha test.js

how to use

// node.js
var fixWidth = require('fixwidth')
fixWidth(2017,2) //=> "17"
fixWidth(8,2) //=> "08"
// browser copy the function 'fixwidth' anywhere you want
// or 👇
<script src="dist/fixwidth.js"></script>
var fixWidth = require('fixwidth')

Readme

Keywords

Package Sidebar

Install

npm i fixwidth

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • ishanyang