# hadron-react-utils [![][travis_img]][travis_url] [![][npm_img]][npm_url]

> Hadron React Utilities

### Usage

Utility function for truncating strings with ellipsis.

```javascript
const { truncate } = require('hadron-react-utils');

tuncate('testing', 3);
```

## License

Apache 2.0

[travis_img]: https://img.shields.io/travis/mongodb-js/hadron-react.svg?style=flat-square
[travis_url]: https://travis-ci.org/mongodb-js/hadron-react
[npm_img]: https://img.shields.io/npm/v/hadron-react-utils.svg?style=flat-square
[npm_url]: https://www.npmjs.org/package/hadron-react-utils
