Skip to content

Commit

Permalink
feat: rename to borc
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Dec 11, 2016
1 parent 857f9a9 commit 936dfc8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# fast-cbor
# borc

[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io)
[![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io/)
[![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs)
[![Coverage Status](https://coveralls.io/repos/github/dignifiedquire/fast-cbor/badge.svg?branch=master)](https://coveralls.io/github/dignifiedquire/fast-cbor?branch=master)
[![Dependency Status](https://david-dm.org/dignifiedquire/fast-cbor.svg?style=flat-square)](https://david-dm.org/dignifiedquire/fast-cbor)
[![Travis CI](https://travis-ci.org/dignifiedquire/fast-cbor.svg?branch=master)](https://travis-ci.org/dignifiedquire/fast-cbor)
[![Circle CI](https://circleci.com/gh/dignifiedquire/fast-cbor.svg?style=svg)](https://circleci.com/gh/dignifiedquire/fast-cbor)
[![Coverage Status](https://coveralls.io/repos/github/dignifiedquire/borc/badge.svg?branch=master)](https://coveralls.io/github/dignifiedquire/fast-cbor?branch=master)
[![Dependency Status](https://david-dm.org/dignifiedquire/borc.svg?style=flat-square)](https://david-dm.org/dignifiedquire/fast-cbor)
[![Travis CI](https://travis-ci.org/dignifiedquire/borc.svg?branch=master)](https://travis-ci.org/dignifiedquire/fast-cbor)
[![Circle CI](https://circleci.com/gh/dignifiedquire/borc.svg?style=svg)](https://circleci.com/gh/dignifiedquire/fast-cbor)


> Encode and parse data in the Concise Binary Object Representation (CBOR) data format ([RFC7049](http://tools.ietf.org/html/rfc7049)) **as fast as possible**.
Expand All @@ -21,7 +21,7 @@ This library is a fork of the awesome [node-cbor]([![standard-readme compliant](
## Installation

```bash
$ npm install --save fast-cbor
$ npm install --save borc
```

## Benchmarks
Expand Down
6 changes: 3 additions & 3 deletions benchmarks/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ suite.add(`encode - node-cbor - ${vecLength}`, () => {
}
})

suite.add(`encode - fast-cbor - ${vecLength}`, () => {
suite.add(`encode - borc - ${vecLength}`, () => {
for (let i = 0; i < vecLength; i++) {
res.push(fastCbor.encode(vectors[i].decoded)[0])
}
})

suite.add(`encode - stream - fast-cbor - ${vecLength}`, () => {
suite.add(`encode - stream - borc - ${vecLength}`, () => {
const enc = new fastCbor.Encoder({stream (chunk) {
res.push(chunk)
}})
Expand All @@ -62,7 +62,7 @@ suite.add(`decode - node-cbor - ${buffers.length}`, () => {
}
})

suite.add(`decode - fast-cbor - ${buffers.length}`, () => {
suite.add(`decode - borc - ${buffers.length}`, () => {
for (let i = 0; i < buffers.length; i++) {
res.push(fastDecoder.decodeFirst(buffers[i]))
}
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "fast-cbor",
"name": "borc",
"version": "1.0.0",
"description": "Encode and parse data in the Concise Binary Object Representation (CBOR) data format (RFC7049).",
"main": "./src/index.js",
"repository": {
"type": "git",
"url": "https://github.com/dignifiedquire/fast-cbor.git"
"url": "https://github.com/dignifiedquire/borc.git"
},
"homepage": "https://github.com/dignifiedquire/fast-cbor.git",
"homepage": "https://github.com/dignifiedquire/borc.git",
"browser": {
"fs": false
},
Expand Down

0 comments on commit 936dfc8

Please sign in to comment.