File tree 4 files changed +679
-99
lines changed
4 files changed +679
-99
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ tests :
7
+ strategy :
8
+ fail-fast : false
9
+ matrix :
10
+ os :
11
+ - ubuntu-latest
12
+ - macos-latest
13
+ - windows-latest
14
+ node-version :
15
+ - 12.x
16
+ - 14.x
17
+ - 15.x
18
+ - 16.x
19
+ name : Use ${{ matrix.node-version }} on ${{ matrix.os }}
20
+ runs-on : ${{ matrix.os }}
21
+ steps :
22
+ - uses : actions/checkout@v2
23
+ - uses : actions/setup-node@v1
24
+ with :
25
+ node-version : ${{ matrix.node-version }}
26
+ - run : npm install
27
+ - run : npm run build --if-present
28
+ - run : npm test
Original file line number Diff line number Diff line change 1
1
StringBuilder for Node.js
2
2
=========
3
3
4
+ [ ![ CI] ( https://github.com/magiclen/node-stringbuilder/actions/workflows/ci.yml/badge.svg )] ( https://github.com/magiclen/node-stringbuilder/actions/workflows/ci.yml )
5
+
4
6
An easy and fast in-memory string builder for Node.js.
5
7
6
8
## Code Example
@@ -33,21 +35,6 @@ console.log(sb.equalsIgnoreCase('be Added into Any position')); // true
33
35
console .log (sb .toBuffer ()); // UTF-8 encoded
34
36
```
35
37
36
- ## Installation
37
-
38
- Run ` npm i ` or ` npm install ` to install.
39
-
40
- ``` bash
41
- npm install node-stringbuilder
42
- ```
43
-
44
- If you want to save this module to package.json, please add ` --save ` option.
45
-
46
- ``` bash
47
- npm install node-stringbuilder --save
48
- ```
49
-
50
-
51
38
## Features
52
39
53
40
* Implemented with N-API.
You can’t perform that action at this time.
0 commit comments