It holds the following packages: - [**TypeCheck JS**](https://github.com/knighttower/JsUtility/tree/development/packages/type-check): A simple type checker for JavaScript. - [**JS Utility**](https://github.com/knighttower/JsUtility/tree/development/packag
npm install knighttowerIt holds the following packages:
- TypeCheck JS: A simple type checker for JavaScript.
- JS Utility: Collection of libraries with classes and functions for JavaScript
- Node Utils: Collection of libraries with classes and functions for node.js
- js-event-bus: Simple Event Bus library built for any JavaScript application.
- BootsTrap Mini: Built on top of Bootstrap but modified to have only the basic utilities classes and the grid system.
- Adaptive Js: daptive.js: Enhancing Layout Adaptability Beyond CSS, Navigating the Complexities of Modern Web Development
- Vue Utils: Vue utilities for Vue.js applications.
- BlockUi: tiny UI blocking utility.
- Toast: A dead simple toast notification library for JavaScript.
- x-loader: A lightweight JavaScript library for dynamically loading scripts, CSS, and images.
All packages are available on npm and via browser with jsDelivr. Check the README.md of each package for more information.
If you want to install all packages at once as a build tool, you can use the following command:
``bash`
npm install knighttower
for browser use: see all packages on jsDelivr
available packages are:
- TypeCheck
- EventBus
- utility
- BootstrapMiniCss
- NodeUtils
- AdaptiveJs
Paths (aliases):
- TypeCheck: knighttower/type-checkknighttower/event-bus
- EventBus: knighttower/utility
- utility: knighttower/utility/nodeUtils
- NodeUtils: knighttower/bootstrap-mini
- BootstrapMiniCss: knighttower/adaptive
- AdaptiveJs:
Access src or dist files:
- TypeCheck: knighttower/type-check/dist/*knighttower/event-bus/dist/*
- EventBus: knighttower/utility/dist/*
- utility: knighttower/utility/nodeUtils/*
- NodeUtils: knighttower/bootstrap-mini/dist/*
- BootstrapMiniCss: knighttower/adaptive/dist/*
- AdaptiveJs:
Import what you need from the package. like this:
`javascript`
import { typeCheck } from 'knighttower/type-check';
import { EventBus } from 'knighttower/event-bus';
import { utility } from 'knighttower/utility';
import 'knighttower/bootstrap-mini';
import { NodeUtils } from 'knighttower/utility/nodeUtils';
import { AdaptiveJs } from 'knighttower/adaptive';
- EventBus: knighttower/packages/event-bus
- utility: knighttower/packages/utility
- NodeUtils: knighttower/packages/utility/nodeUtils
- BootstrapMiniCss: knighttower/packages/bootstrap-mini
- AdaptiveJs: knighttower/packages/adaptive`