# samay.js

> samay.js ====

Latest version **1.0.1** (published 2017-06-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install samay.js
pnpm add samay.js
yarn add samay.js
bun add samay.js
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2017-06-06 |
| First published | 2017-05-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | p-v |

## Links

- npm: https://www.npmjs.com/package/samay.js
- Repository: https://github.com/p-v/samay.js
- Homepage: https://github.com/p-v/samay.js#readme
- Issues: https://github.com/p-v/samay.js/issues
- npm.io page: https://npm.io/package/samay.js

## Dependencies (1)

- [moment](https://npm.io/package/moment.md) ^2.18.1

## Recent versions

- 1.0.1 (latest) — 2017-06-06
- 1.0.0 — 2017-05-31

## README

samay.js
====

Convert future humanized date/time strings to date.

```
import Samay from 'samay';

const samay = new Samay();
// Supposing today is 24th May, 2017
samay.parseText('tomorrow at 8am'); // { value: dateObject, hasTime: true, samayType: 1 }
```

## Install

```
npm install samay.js
```

# DEPRECATED function

`samay#parse` has been deprecated in favour of `samay#parseText` which returns an object with some addition information.

---
_Source: https://npm.io/package/samay.js · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
