js.vapor v1.4.12-b
VaporJS
The World's Smallest & Fastest JavaScript Library
In just 0 lines of code it provides everything that you can do natively!
:vhs: Clone me!
Clone the Github project using git:
git clone https://github.com/madrobby/vapor.js.git
Or clone it using GitHub Desktop. You can also download the source code in .zip format.
:electric_plug: Requirements
VaporJS does not require anything!
:runner: Usage
Import vapor.js framework into your HTML file:
<script src="vapor.js"></script>
If you need it, you can import it externally thanks to CDN:
<script src="https://cdn.rawgit.com/OhanaMeans/vapor.js/master/vapor.js"></script>
On modern browsers, you can inline it with a data URL:
<script src="data:application/javascript,"></script>
Alternatively, inline the whole code, like this:
<script></script>
Add defer attribute for faster loading:
<script defer></script>
(You can also omit the <script>
tag completely for the ultimate in optimizations and efficiency!)
:package: NPM Package!
Now you can install vapor.js globally in your computer using npm
!
npm install -g js.vapor
You can also run vapor.js as an executable!
vaporjs --help
or
vapor.js --help
:briefcase: Enterprise Usage
If you need to use VaporJS in a business environment or require minimum security requirements, you can try SemicolonJS