# @gohorse/npm-core

> GoHorse is a Git-based blockchain. Base library with general functionality for the other parts of the system.

Latest version **5.2.7** (published 2023-03-02) · GoHorse Blockchain © 2021 by sergiocabral.com is licensed under CC BY 4.0. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/ license · 0 weekly downloads

## Install

```sh
npm install @gohorse/npm-core
pnpm add @gohorse/npm-core
yarn add @gohorse/npm-core
bun add @gohorse/npm-core
```

Provides the command `npm-core`.

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 5.2.7 |
| Published | 2023-03-02 |
| First published | 2022-01-20 |
| Weekly downloads | 0 |
| License | GoHorse Blockchain © 2021 by sergiocabral.com is licensed under CC BY 4.0. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/ |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 49.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 20 |
| Author | Sergio Cabral |
| Maintainers | sergiocabral.com, sergiocabral.dev, sergiocabraljr |
| Keywords | gohorse, coin, blockcahin, cryptocurrency, cabroncoin, sergiocabral |

## Links

- npm: https://www.npmjs.com/package/@gohorse/npm-core
- Repository: https://github.com/sergiocabral/Blockchain.GoHorse
- Homepage: https://github.com/sergiocabral/Blockchain.GoHorse/tree/npm-core
- Issues: https://github.com/sergiocabral/Blockchain.GoHorse/issues
- npm.io page: https://npm.io/package/@gohorse/npm-core

## Dependencies (2)

- [tslib](https://npm.io/package/tslib.md) ^2.5.0
- [@sergiocabral/helper](https://npm.io/package/@sergiocabral/helper.md) ^11.11.0

## Alternatives

- [@gemini-wallet/core](https://npm.io/package/@gemini-wallet/core.md) — 515.6K weekly downloads
- [utility](https://npm.io/package/utility.md) — 416.6K weekly downloads
- [@primno/dpapi](https://npm.io/package/@primno/dpapi.md) — 7.2K weekly downloads
- [pi-readseek](https://npm.io/package/pi-readseek.md) — 3.7K weekly downloads
- [@emilia-protocol/verify](https://npm.io/package/@emilia-protocol/verify.md) — 1.1K weekly downloads

## Recent versions

- 5.2.7 (latest) — 2023-03-02
- 5.2.6 — 2023-01-27
- 5.2.5 — 2023-01-19
- 5.2.4 — 2023-01-13
- 5.2.3 — 2022-09-14
- 5.2.2 — 2022-09-12
- 5.2.1 — 2022-06-14
- 5.2.0 — 2022-06-12
- 5.1.4 — 2022-06-12
- 5.1.3 — 2022-06-09
- 5.1.2 — 2022-06-08
- 5.1.1 — 2022-06-08
- 5.1.0 — 2022-06-08
- 5.0.2 — 2022-06-07
- 5.0.1 — 2022-06-07
- … 54 more at https://npm.io/package/@gohorse/npm-core/versions

## README

# @gohorse/npm-core

GoHorse is a Git-based blockchain.

[<img src="https://github.com/sergiocabral/App.GoHorse/raw/main/gohorse.png" width="75px;"/>](https://gohorse.dev/)

Base library with general functionality for the other parts of the system.

```bash
npm install @gohorse/npm-core
```

## Logger variables

Convention for naming values associated with log messages.

- `url` : Endereço de internet contendo um protocolo como http, ftp, ws, etc.
- `path` : Disk path to files or directories.
- `filePath` : Disk path to files.
- `directoryPath` : Disk path to directories.

Don't use `id`, `type`, `name`, etc. But describe it more fully as:

- `instanceId`
- `toInstanceId`
- `fromInstanceId`
- `applicationName`
- `applicationVersion`
- `applicationExecutionMode`
- `applicationMessageId`
- `applicationMessageType`
- `languageCultureName`
- `className`
- `authenticationMode`

Use "Content" suffix for text content:

- `jsonContent`
- `fileLineContent`
- `commandLineContent`
- `errorContent` : Stacktrace or similar error information. 

Use "List" suffix for listings:

- `applicationIdList`
- `keyList`
- `fieldRegexList`

Values with units:

- `timeSeconds`
- `timeMilliSeconds`

Other names used:

- `errorDescription` : Error message formatted with `HelperText.formatError()`.
- `error` : Error raw object.
- `invalidValue` : Any invalid value.
- `count` : Any quantitative value.
- `enabled` : Signaling enabled and disabled.
- `logLevel` : Logging level.
- `httpStatusCode` : Código de status HTTP.

## NPM Commands

In the package.json file you have configured the following commands:

```bash
# Rewrites TypeScript, JavaScript and tests code with formatting.
npm run format

# Finds in TypeScript files not recommended coding practices.
npm run lint

# The same as the previous two executed one after the other.
npm run format+lint

# Run the unit tests.
npm run test

# Compiles TypeScript code to JavaScript.
npm run build

# Executes the last five commands.
npm run build:prod

# If the package is an application it is expected that
# it can be started in this way.
npm run start

# If the package is an application it is expected that
# any running instance of it can be terminated in this way.
npm run stop

# Runs after initial installation with `npm install`
# and before publishing with `npm publish`
# Confirm that compiling files with `npm run build`
# is working before publishing.
npm run prepare

# Executes during versioning, but before it becomes effective,
# with `npm version patch` or `npm version minor` or npm `version major`.
# Run the `npm run build:prod` and after add with `git add` all new
# or modified files in the `./ts` directory to be included in the
# versioning commit.
npm run version

# Executed after versioning the package with `npm version patch`
# or `npm version minor` or npm `version major`
# After NPM inserts the version commit and tag, this command
# pushes to the remote repository using `git push && git push --tags`
npm run postversion

```

## Author

| [<img src="https://avatars.githubusercontent.com/u/665373?v=4" width="75px;"/>](https://github.com/sergiocabral) |
| :-: |
|[sergiocabral.com](https://sergiocabral.com)|

---
_Source: https://npm.io/package/@gohorse/npm-core · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
