New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

alinex-core

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alinex-core

Central module for the alinex systems.

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

Alinex Core

The core module is a base for all of my alinex modules. It has some common methods which are necessary in nearly any of my packages.

At the moment it contains:

  • Logo - a method to present ASCII art command line logos

A complete help with examples can be found at alinex.gitlab.io/node-core.

Usage

To include this in your module install it:

npm install alinex-core --save

Now only include it in your code and call it's methods:

const core = require('alinex-core');

// init signal exit handler
core.init();

// output logo on console
// eslint-disable-next-line no-console
console.log(core.logo('Portal Application'));

// exit with code and message
core.exit(100, new Error("Command already running, can't be called in parallel!"));

License

(C) Copyright 2016 Alexander Schilling

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Keywords

alinex

FAQs

Package last updated on 07 Apr 2019

Did you know?

Socket

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.

Install

Related posts