This repository has been archived by the owner on Jul 7, 2018. It is now read-only.
Installation and usage
Dmitry Parzhitsky edited this page May 2, 2017
·
4 revisions
To take benefits from using check
you should first install it. There are several ways to do that.
1. Using Node Package Manager
To install check
as module using npm
you simply install it as a dependency of your project.
Remember that the name of the package is different – checkjs
– from the name of this repository:
md my-project
cd my-project
npm init
npm install checkjs --save
Now you can safely use it in your index.js
, main.js
or whatever .js
file you've got:
let check = require("checkjs");
This feature will be available in the nearest future
To include check
as a global variable on your HTML page, Ctrl+C and Ctrl+V the root folder of check
in your preferred folder.
Now you just simply add the following <script>
tag to the <head>
of the document template:
<script src="path/to/check/index.js"></script>
Voila! You can access the global check
variable from all of your document!
LLAP 🖖