# harno-kernel

> Npm module that helps you build your projects

Latest version **0.0.8** (published 2019-01-10) · SEE LICENSE IN LICENSE license · 0 weekly downloads

## Install

```sh
npm install harno-kernel
pnpm add harno-kernel
yarn add harno-kernel
bun add harno-kernel
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: insecure dependencies; abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.8 |
| Published | 2019-01-10 |
| First published | 2018-12-13 |
| Weekly downloads | 0 |
| License | SEE LICENSE IN LICENSE |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 11 |
| Unpacked size | 106.9 KB |
| Known vulnerabilities | 0 (+28 in 7 direct dependencies) |
| Install scripts | no |
| Author | Harnosoft LLC |
| Maintainers | harnosoft |
| Keywords | management, kernel, swagger, wrappers, microservice, API, REST, config, express, http, kernel, logger, microservice, mongodb, services, validation |

## Links

- npm: https://www.npmjs.com/package/harno-kernel
- Repository: https://gitlab.com/harnosoft/harno-kernel/harno-kernel
- Homepage: https://gitlab.com/harnosoft/harno-kernel/harno-kernel/#readme
- Issues: https://gitlab.com/harnosoft/harno-kernel/harno-kernel/issues
- npm.io page: https://npm.io/package/harno-kernel

## Dependencies (11)

- [lodash](https://npm.io/package/lodash.md) 4.17.11
- [log4js](https://npm.io/package/log4js.md) 3.0.6
- [express](https://npm.io/package/express.md) 4.16.4
- [js-yaml](https://npm.io/package/js-yaml.md) 3.12.0
- [request](https://npm.io/package/request.md) 2.88.0
- [mongoose](https://npm.io/package/mongoose.md) 5.3.8
- [valid-url](https://npm.io/package/valid-url.md) 1.0.9
- [body-parser](https://npm.io/package/body-parser.md) 1.18.3
- [node-schedule](https://npm.io/package/node-schedule.md) 1.3.0
- [request-promise-any](https://npm.io/package/request-promise-any.md) 1.0.5
- [swagger-2.0-node-express-4.x](https://npm.io/package/swagger-2.0-node-express-4.x.md) git+https://github.com/omninews/swagger-2.0-node-express-4.x.git

## Alternatives

- [angular-pipes](https://npm.io/package/angular-pipes.md) — 5.6K weekly downloads
- [@ng-web-apis/midi](https://npm.io/package/@ng-web-apis/midi.md) — 2.6K weekly downloads
- [happn-3](https://npm.io/package/happn-3.md) — 1.6K weekly downloads
- [@opensip-cli/lang-go](https://npm.io/package/@opensip-cli/lang-go.md) — 1.2K weekly downloads
- [mongoose-typescript](https://npm.io/package/mongoose-typescript.md) — 85 weekly downloads

## Recent versions

- 0.0.8 (latest) — 2019-01-10
- 0.0.7 — 2018-12-27
- 0.0.6 — 2018-12-21
- 0.0.5 — 2018-12-13

## README

# Harno-kernel
Npm module that helps you to build your projects

## Install
```console
npm install harno-kernel
```

## Brief overview
Harno-kernel contains three main components:
- `the kernel` - the main script that can register and manage services
- `services` - a bunch of available service, that contains different logics, methods and etc. that can be run in browser, node, and other enviroments
- `wrappers` - a bunch of available wrapper. Wrapper is a js script that registers a bunch of services for specific needs. Like: node server, web canvas game, electron app and etc

You can require any of that component independently.
- `the kernel`:
```js
import Kernel from 'harno-kernel/dist/kernel' // or just 'harno-kernel'
```
- `services`:
```js
import ExpressService from 'harno-kernel/dist/services/node/express/express.service'
import ConfigService from 'harno-kernel/dist/services/shared/config/config.service'
```
- `wrappers`:
```js
import ServerKernel from 'harno-kernel/dist/wrappers/server/server.kernel'
```

## Docs
- the kernel: [docs/KERNEL.md](docs/KERNEL.md)
- available services: [docs/SERVICES.md](docs/SERVICES.md)
- available kernel wrappers: [docs/WRAPPERS.md](docs/WRAPPERS.md)

## File naming conventions
- `.service.` (`game.service.js`) - files that contain services (classes that would become kernel services)
- `.class.` (`block.class.js`) -  files that contain classes that are used in other classes
- `.management.` (`files.management.js`) - files that contain services that manage some internal data
- `.model.` (`player.model.js`) - files that contain services that manage data in databases
- `.test.` (`game.service.test.js`) - files that contain tests
- `.router.` (`game.router.js`) - files that define routes
- `.any.` (`game.params.js`) - files that do something specific


## License
[License](LICENSE)

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