40 lines
416 B
Markdown
40 lines
416 B
Markdown
# u-js-sample
|
|
|
|
A small Node.js console script project.
|
|
|
|
## Setup
|
|
|
|
```sh
|
|
npm ci
|
|
```
|
|
|
|
## Run
|
|
|
|
```sh
|
|
npm start -- --name Sergey
|
|
```
|
|
|
|
or directly with Node:
|
|
|
|
```sh
|
|
node src/index.js --name Sergey
|
|
```
|
|
|
|
Generate a Universa key smoke test:
|
|
|
|
```sh
|
|
npm start -- --generate-key
|
|
```
|
|
|
|
Test a Universa network connection with `src/indigo_demo_2025.json`:
|
|
|
|
```sh
|
|
npm start -- --test-network
|
|
```
|
|
|
|
## Check
|
|
|
|
```sh
|
|
npm run check
|
|
```
|