npm

Don't miss out on this year's npm Pride t-shirt designs!Order your favorites here »

js.vapor

1.4.12-b • Public • Published
VaporJS Icon

VaporJS

The World's Smallest & Fastest JavaScript Library

language twitter

In just 0 lines of code it provides everything that you can do natively!

📼 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.

🔌 Requirements

VaporJS does not require anything!

🏃 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!)

📦 NPM Package!

npm npm bundle size (minified) npm

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

💼 Enterprise Usage

If you need to use VaporJS in a business environment or require minimum security requirements, you can try SemicolonJS

Keywords

install

npm i js.vapor

Downloadsweekly downloads

0

version

1.4.12-b

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability