An open API service indexing awesome lists of open source software.

https://github.com/imsobear/monospace

get monospace string by space or dots
https://github.com/imsobear/monospace

Last synced: 3 months ago
JSON representation

get monospace string by space or dots

Awesome Lists containing this project

README

        

# monospace [![Build Status](https://travis-ci.org/imsobear/monospace.svg?branch=master)](https://travis-ci.org/imsobear/monospace)

> get monospace string by space or dots

## Install

```bash
npm install --save monospace
```

## Example

```javascript
var monospace = require('monospace');

monospace("123456", 6); // 123456
monospace("123456789", 6); // 123...
monospace("123", 6); // 123+three spaces
```

## Test

```bash
npm test
```

## License

MIT © 2015 sobear