
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Template-based Web Application Framework
Kites is a framework providing dynamic applications assembling and Template-based extracting. Namely it contains a lot of templates and extensions to help building a new application quickly.
# install kites cli
$ npm install -g @kites/cli
# init a project
kites init my-project --template mvc
# move to project workspace
cd my-project
# install dependencies
npm install
# run app server, navigate browser at http://localhost:3000
npm start
Development environment:
# start project in development mode
npm run dev
To change environment use cmd set NODE_ENV=development or use options your IDE provides. If you don't specify node environment kites assumes development as default.
Here is the list of built-in templates and their implementation status:
mvc: Assembling all into complete ship (default)basic: Template for building from scratchapidoc: Template for API Documentationexpress: Template for Express Applicationchatbot: Template for generating an AI ChatbotMore templates, checkout issue #1
Kites is an eco-system and has many modules which can be assembled into a larger application. You are welcome to write your own extension or even publish it to the community.
TODO:
Kites by default auto discovers extensions in the application's directory tree. This means kites by default searches for files kites.config.js which describes the extensions and applies all the extensions that are found.
// let kites autodiscover the extensions
var kites = require('kites')({
logger: {
console: {
transport: 'console',
level: 'debug'
}
});
// init the kites
kites.init().then(() => {
kites.logger.info('done!')
})
Kites extensions auto discovery slows down the startup and can be explicitly using use function with mode discover: false
// do not let kites autodiscover the extensions
// do not load extensions from locations cache
var kites = require('kites')({
discover: false,
extensionsLocationCache: false,
logger: {
console: {
transport: 'console',
level: 'debug'
}
});
// explicitly use extensions
kites.use(require('@kites/express')())
.use(require('@kites/roomrtc')())
.use(require('./path/to/your/extension')())
.init().then((kites) => {
kites.logger.info('done!')
})
kites leverages winston logging abstraction together with debug utility. To output logs in the console just simply set the DEBUG environment variable
DEBUG=kites node app.js
on windows:
set DEBUG=kites & node app.js
kites exposes logger property which can be used to adapt the logging as you like. You can for example just add winston console transport and filter in only important log messages into console.
var kites = require('kites')();
var winston = require('winston');
kites.logger.add(winston.transports.Console, { level: 'info' });
MIT License
Copyright (c) 2018 Nhữ Bảo Vũ
FAQs
Template-based Web Application Framework
The npm package kites receives a total of 1 weekly downloads. As such, kites popularity was classified as not popular.
We found that kites demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.