Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/reklatsmasters/date2buffer
- Owner: reklatsmasters
- License: mit
- Created: 2016-07-18T09:10:50.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-18T06:08:40.000Z (almost 7 years ago)
- Last Synced: 2024-10-03T12:21:51.517Z (about 1 month ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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