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

https://github.com/ship-components/ship-components-since

React component to display a fuzzy time since a timestamp
https://github.com/ship-components/ship-components-since

Last synced: 11 months ago
JSON representation

React component to display a fuzzy time since a timestamp

Awesome Lists containing this project

README

          

# ship-components-since
React component to show time since a timestamp

[![npm](https://img.shields.io/npm/v/ship-components-since.svg?maxAge=2592000)](https://www.npmjs.com/package/ship-components-since)
[![coverage](https://img.shields.io/coveralls/ship-components/ship-components-since.svg?maxAge=2592000)](https://coveralls.io/github/ship-components/ship-components-since)
[![Build Status](http://img.shields.io/travis/ship-components/ship-components-since/master.svg?style=flat)](https://travis-ci.org/ship-components/ship-components-since)
[![dependencies](https://img.shields.io/david/ship-components/ship-components-since.svg?style=flat)](https://david-dm.org/ship-components/ship-components-since)
[![devDependencies](https://img.shields.io/david/dev/ship-components/ship-components-since.svg?style=flat)](https://david-dm.org/ship-components/ship-components-since?type=dev)

## Basic Usage

```js
import React from 'react';
import Since from 'ship-components-since';

export default function ExampleComponent(props) {
return (

);
}
```

## Tests
1. `npm install`
2. `npm test`

## History
* 0.1.0 - Initial

## License
The MIT License (MIT)

Copyright (c) SHIP

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.