harno-kernel
Npm module that helps you build your projects
Last updated a year ago by harnosoft .
SEE LICENSE IN LICENSE · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install harno-kernel 
SYNC missed versions from official npm registry.

Harno-kernel

Npm module that helps you to build your projects

Install

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:
import Kernel from 'harno-kernel/dist/kernel' // or just 'harno-kernel'
  • services:
import ExpressService from 'harno-kernel/dist/services/node/express/express.service'
import ConfigService from 'harno-kernel/dist/services/shared/config/config.service'
  • wrappers:
import ServerKernel from 'harno-kernel/dist/wrappers/server/server.kernel'

Docs

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

Current Tags

  • 0.0.8                                ...           latest (a year ago)

4 Versions

  • 0.0.8                                ...           a year ago
  • 0.0.7                                ...           a year ago
  • 0.0.6                                ...           a year ago
  • 0.0.5                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 8
Dependencies (11)
Dev Dependencies (12)

Copyright 2014 - 2016 © taobao.org |