Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/reklatsmasters/date2buffer

Convert Date to a Buffer
https://github.com/reklatsmasters/date2buffer

Last synced: 24 days ago
JSON representation

Convert Date to a Buffer

Awesome Lists containing this project

README

        

# date2buffer
[![travis](https://travis-ci.org/reklatsmasters/date2buffer.svg?style=flat)](https://travis-ci.org/reklatsmasters/date2buffer)
[![npm](https://img.shields.io/npm/v/date2buffer.svg?style=flat)](https://npmjs.org/package/date2buffer)
[![license](https://img.shields.io/npm/l/date2buffer.svg?style=flat)](https://npmjs.org/package/date2buffer)
[![abstract-encoding](https://img.shields.io/badge/abstract--encoding-compliant-brightgreen.svg?style=flat)](https://github.com/mafintosh/abstract-encoding)
[![downloads](https://img.shields.io/npm/dm/date2buffer.svg?style=flat)](https://npmjs.org/package/date2buffer)

Convert Date <-> Buffer

## Usage
```js
const d2b = require('date2buffer')

d2b.encode(new Date())
```

## API

This module used [abstract-encoding](https://github.com/mafintosh/abstract-encoding) api

## License
MIT, 2016 (c) Dmitry Tsvettsikh