1- # to-buffer
1+ # to-buffer < sup > [ ![ Version Badge ] [ 2 ]] [ 1 ] </ sup >
22
33Pass in a string, get a buffer back. Pass in a buffer, get the same buffer back.
44
5+ [ ![ github actions] [ actions-image ]] [ actions-url ]
6+ [ ![ coverage] [ codecov-image ]] [ codecov-url ]
7+ [ ![ dependency status] [ 5 ]] [ 6 ]
8+ [ ![ dev dependency status] [ 7 ]] [ 8 ]
9+ [ ![ License] [ license-image ]] [ license-url ]
10+ [ ![ Downloads] [ downloads-image ]] [ downloads-url ]
11+
12+ [ ![ npm badge] [ 11 ]] [ 1 ]
13+
14+
515```
616npm install to-buffer
717```
818
9- [ ![ build status] ( https://travis-ci.org/mafintosh/to-buffer.svg?branch=master )] ( https://travis-ci.org/mafintosh/to-buffer )
10-
1119## Usage
1220
1321``` js
@@ -19,6 +27,18 @@ console.log(toBuffer('6869', 'hex')); // <Buffer 68 69>
1927console .log (toBuffer (43 )); // throws
2028```
2129
22- ## License
23-
24- MIT
30+ [ 1 ] : https://npmjs.org/package/to-buffer
31+ [ 2 ] : https://versionbadg.es/browserify/to-buffer.svg
32+ [ 5 ] : https://david-dm.org/browserify/to-buffer.svg
33+ [ 6 ] : https://david-dm.org/browserify/to-buffer
34+ [ 7 ] : https://david-dm.org/browserify/to-buffer/dev-status.svg
35+ [ 8 ] : https://david-dm.org/browserify/to-buffer#info=devDependencies
36+ [ 11 ] : https://nodei.co/npm/to-buffer.png?downloads=true&stars=true
37+ [ license-image ] : https://img.shields.io/npm/l/to-buffer.svg
38+ [ license-url ] : LICENSE
39+ [ downloads-image ] : https://img.shields.io/npm/dm/to-buffer.svg
40+ [ downloads-url ] : https://npm-stat.com/charts.html?package=to-buffer
41+ [ codecov-image ] : https://codecov.io/gh/browserify/to-buffer/branch/main/graphs/badge.svg
42+ [ codecov-url ] : https://app.codecov.io/gh/browserify/to-buffer/
43+ [ actions-image ] : https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/browserify/to-buffer
44+ [ actions-url ] : https://github.com/browserify/to-buffer/actions
0 commit comments