A collection of 140-byte sized scripts that make up a powerful multi-purpose JS framework.
Latest version : 1.4.2-z9A8tYO
Last updated on 2017-09-04T13:50:18.327Z
No examples found for this package
Replace those large frameworks with an easy*, modern, cross-browser tiny framework.
*learning the API might be difficult for some users as all object names are one letter, however there is a larger plugin that gives an easier API and more descriptive function names.
1. Getting Started
Along with 140tools being a tiny library, it has an easy installation for any platform.
$ npm i 140tools
const T140 = require('140tools'); // or import * as T140 from '140tools';
<script src="140tools.github.io/cdn/latest.js" />
It's as easy as that! You can access 140tools by using the variable
- Absolutely nano
- Endless possibilities
- Faster load time
- Supports all major browsers
- Replaces almost any library with even more tools
- Flexible and extensible
- Professional material design components
- Fast code
- Confusing API with one-letter names
Each version of 140tools is called a patch because we don't want to ruin version
1.42. It's got 140 and the meaning of life in it!
Developers can make patches, and so can contributors too. If you want to contribute to 140tools, use the following:
# NOTE: Requires Node 8.4.0! $ git clone https://github.com/140tools/140tools.git $ cd 140tools $ npm run cli patch add MyPatch # work your magic in ./patches/MyPatch/ $ npm run cli patch compile MyPatch $ npm run cli patch finish MyPatch # upload patch-MyPatch.ct140patch to an issue in GitHub and you're good!
2.1. Applying a patch
$ npm run cli patch apply ./patch-MyPatch.ct140patch # ./MyPatch/ contains the pathed files