Skip to content

Commit 7d7e5d1

Browse files
committed
docs: package name
1 parent 25e31fa commit 7d7e5d1

File tree

7 files changed

+209
-209
lines changed

7 files changed

+209
-209
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ aliases:
1717

1818
jobs:
1919
build:
20-
working_directory: ~/order-book
20+
working_directory: ~/nodejs-order-book
2121
docker:
2222
- image: cimg/node:22.5
2323
steps:
@@ -31,7 +31,7 @@ jobs:
3131
- *build-packages
3232

3333
test:
34-
working_directory: ~/order-book
34+
working_directory: ~/nodejs-order-book
3535
docker:
3636
- image: cimg/node:22.5
3737
steps:

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## PR Checklist
22
Please check if your PR fulfills the following requirements:
33

4-
- [ ] The commit message follows our guidelines: https://github.com/fasenderos/order-book/blob/main/CONTRIBUTING.md
4+
- [ ] The commit message follows our guidelines: https://github.com/fasenderos/nodejs-order-book/blob/main/CONTRIBUTING.md
55
- [ ] Tests for the changes have been added (for bug fixes / features)
66
- [ ] Docs (README.md) have been added / updated (for bug fixes / features)
77

.release-it.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"git": {
3-
"commitMessage": "chore(release): order-book@${version}",
3+
"commitMessage": "chore(release): nodejs-order-book@${version}",
44
"tagName": "v${version}",
55
"tagAnnotation": "Release v${version}",
66
"requireCommits": true,

CHANGELOG.md

Lines changed: 184 additions & 184 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<p align="center">
2-
<a href="https://www.npmjs.com/package/order-book" target="_blank"><img src="https://img.shields.io/npm/v/order-book?color=blue" alt="NPM Version"></a>
3-
<a href="https://github.com/fasenderos/order-book/blob/main/LICENSE" target="_blank"><img src="https://img.shields.io/npm/l/order-book" alt="Package License"></a>
4-
<a href="https://www.npmjs.com/package/order-book" target="_blank"><img src="https://img.shields.io/npm/dm/order-book" alt="NPM Downloads"></a>
5-
<a href="https://circleci.com/gh/fasenderos/order-book" target="_blank"><img src="https://img.shields.io/circleci/build/github/fasenderos/order-book/main" alt="CircleCI" ></a>
6-
<a href="https://codecov.io/github/fasenderos/order-book" target="_blank"><img src="https://img.shields.io/codecov/c/github/fasenderos/order-book" alt="Codecov"></a>
7-
<a href="https://github.com/fasenderos/order-book"><img src="https://badgen.net/badge/icon/typescript?icon=typescript&label" alt="Built with TypeScript"></a>
2+
<a href="https://www.npmjs.com/package/nodejs-order-book" target="_blank"><img src="https://img.shields.io/npm/v/nodejs-order-book?color=blue" alt="NPM Version"></a>
3+
<a href="https://github.com/fasenderos/nodejs-order-book/blob/main/LICENSE" target="_blank"><img src="https://img.shields.io/npm/l/nodejs-order-book" alt="Package License"></a>
4+
<a href="https://www.npmjs.com/package/nodejs-order-book" target="_blank"><img src="https://img.shields.io/npm/dm/nodejs-order-book" alt="NPM Downloads"></a>
5+
<a href="https://circleci.com/gh/fasenderos/nodejs-order-book" target="_blank"><img src="https://img.shields.io/circleci/build/github/fasenderos/nodejs-order-book/main" alt="CircleCI" ></a>
6+
<a href="https://codecov.io/github/fasenderos/nodejs-order-book" target="_blank"><img src="https://img.shields.io/codecov/c/github/fasenderos/nodejs-order-book" alt="Codecov"></a>
7+
<a href="https://github.com/fasenderos/nodejs-order-book"><img src="https://badgen.net/badge/icon/typescript?icon=typescript&label" alt="Built with TypeScript"></a>
88
</p>
99

1010
# Node.js Order Book
@@ -27,34 +27,34 @@ Ultra-fast Node.js Order Book written in TypeScript for high-frequency trading (
2727

2828
**Machine:** ASUS ExpertBook, 11th Gen Intel(R) Core(TM) i7-1165G7, 2.80Ghz, 16GB RAM, Node.js v18.4.0.
2929

30-
<img src="https://user-images.githubusercontent.com/1219087/181792292-8619ee25-bf75-4871-a06c-bd6c82157f33.png" alt="order-book-benchmark" title="order-book benchmark" />
30+
<img src="https://user-images.githubusercontent.com/1219087/181792292-8619ee25-bf75-4871-a06c-bd6c82157f33.png" alt="nodejs-order-book-benchmark" title="nodejs-order-book benchmark" />
3131

3232
## Installation
3333

3434
Install with npm:
3535

3636
```sh
37-
npm install order-book
37+
npm install nodejs-order-book
3838
```
3939

4040
Install with yarn:
4141

4242
```sh
43-
yarn add order-book
43+
yarn add nodejs-order-book
4444
```
4545

4646
Install with pnpm:
4747

4848
```sh
49-
pnpm add order-book
49+
pnpm add nodejs-order-book
5050
```
5151

5252
## Usage
5353

5454
To start using order book you need to import `OrderBook` and create new instance:
5555

5656
```js
57-
import { OrderBook } from 'order-book'
57+
import { OrderBook } from 'nodejs-order-book'
5858

5959
const ob = new OrderBook()
6060
```
@@ -75,7 +75,7 @@ ob.cancel(orderID: string)
7575
### Conditional Orders ![Experimental](https://img.shields.io/badge/Experimental-blue)
7676
The version `v6.1.0` introduced support for Conditional Orders `Stop Market`, `Stop Limit` and `OCO`. Even though the test coverage for these new features is at 100%, they are not yet considered stable because they have not been tested with real-world scenarios. For this reason, if you want to use conditional orders, you need to instantiate the order book with the `experimentalConditionalOrders` option set to `true`.
7777
```js
78-
import { OrderBook } from 'order-book'
78+
import { OrderBook } from 'nodejs-order-book'
7979

8080
const ob = new OrderBook({ experimentalConditionalOrders: true })
8181

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
{
2-
"name": "order-book",
2+
"name": "nodejs-order-book",
33
"version": "8.0.0",
44
"description": "Node.js Lmit Order Book for high-frequency trading (HFT).",
55
"author": "Andrea Fassina <andrea.fassina82@gmail.com>",
66
"license": "MIT",
7-
"homepage": "https://github.com/fasenderos/order-book",
7+
"homepage": "https://github.com/fasenderos/nodejs-order-book",
88
"repository": {
99
"type": "git",
10-
"url": "git@github.com:fasenderos/order-book.git"
10+
"url": "git@github.com:fasenderos/nodejs-order-book.git"
1111
},
1212
"bugs": {
13-
"url": "https://github.com/fasenderos/order-book/issues"
13+
"url": "https://github.com/fasenderos/nodejs-order-book/issues"
1414
},
1515
"main": "dist/cjs/index.js",
1616
"module": "dist/esm/index.js",
1717
"umd:main": "dist/umd/index.js",
1818
"types": "dist/types/index.d.js",
1919
"scripts": {
20-
"addscope": "node tools/packagejson name @fasenderos/order-book",
20+
"addscope": "node tools/packagejson name @fasenderos/nodejs-order-book",
2121
"bench": "node benchmarks/benchmark_lob.js",
2222
"build": "npm run build:cjs && npm run build:esm && npm run build:umd && npm run build:types",
2323
"build:cjs": "node tools/cleanup cjs && tsc -p config/tsconfig.cjs.json",
@@ -77,12 +77,12 @@
7777
"exchange",
7878
"hft",
7979
"hft-trading",
80-
"limit-order-book",
80+
"limit-nodejs-order-book",
8181
"matching-algorithm",
8282
"matching-engine",
8383
"nodejs",
8484
"orderbook",
85-
"order-book",
85+
"nodejs-order-book",
8686
"typescript",
8787
"trading"
8888
]

0 commit comments

Comments
 (0)