# kronic-node

> A dirt simple library for parsing and formatting human readable dates

Latest version **0.0.1** (published 2012-09-18) · 0 weekly downloads

## Install

```sh
npm install kronic-node
pnpm add kronic-node
yarn add kronic-node
bun add kronic-node
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2012-09-18 |
| First published | 2012-09-18 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Xavier Shay |
| Maintainers | radekstepan |

## Links

- npm: https://www.npmjs.com/package/kronic-node
- Repository: http://github.com/radekstepan/kronic-node
- npm.io page: https://npm.io/package/kronic-node

## Dependencies (1)

- [coffee-script](https://npm.io/package/coffee-script.md) >=1.2.0

## Recent versions

- 0.0.1 (latest) — 2012-09-18

## README

# Kronic for Node.js

A dirt simple library for parsing and formatting human readable dates (Today, Yesterday, Last Monday). A port of [https://github.com/xaviershay/kronic](https://github.com/xaviershay/kronic) to make it into a Node.js module.

## Usage

```bash
$ npm install kronic-node
```

```coffeescript
Kronic = require 'kronic-node'

# Parse string into Date.
Kronic.parse 'Today'
# Human format from Date.
Kronic.format new Date()
```

## Tests

```bash
$ npm test
```

The tests have been rewritten to use [Mocha](http://visionmedia.github.com/mocha/) and [Should](https://github.com/visionmedia/should.js/tree/).

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