Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fboes/js-toolshed
Javascript Toolshed
https://github.com/fboes/js-toolshed
Last synced: about 1 month ago
JSON representation
Javascript Toolshed
- Host: GitHub
- URL: https://github.com/fboes/js-toolshed
- Owner: fboes
- License: mit
- Created: 2013-05-25T10:17:22.000Z (over 11 years ago)
- Default Branch: main
- Last Pushed: 2021-03-13T06:34:26.000Z (almost 4 years ago)
- Last Synced: 2024-04-09T15:02:58.464Z (9 months ago)
- Language: JavaScript
- Size: 85.9 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
js-toolshed
===========[![devDependency Status](https://david-dm.org/fboes/js-toolshed/dev-status.svg)](https://david-dm.org/fboes/js-toolshed?type=dev)
Javascript Toolshed adds some basic methods to already existing JS prototypes / objects. You may want to consider if [extending native objects is evil or not](https://javascriptweblog.wordpress.com/2011/12/05/extending-javascript-natives/).
And remember: [You might not need jQuery](docs/no-jquery.md) and use [Vanilla JS](http://vanilla-js.com/) instead.
Installation
------------Via [Bower](http://bower.io/): `bower install fboes/js-toolshed`
1. Copy [build/js-toolshed.js](build/js-toolshed.js) to your local JS directory.
2. Load Toolshed via ``.Documentation
-------------See the [auto documentation](docs/api.md) for new methods to use.
* `Math` & `Number` get new methods for rounding and styled output of numbers.
* `Array` gets new methods for smart adding of new values and fast manipulation of values.
* `String` gets lots of new methods for outputting various stuff.
* An improved `Date`-object acts as a parser for ISO-formatted dates.
* `Elements` gets methods for class- and event-manipulation like in jQuery.There is also [a small polyfill](src/js-legacy.js) to give older browsers (IE 8) some new Javascript methods.
* There is a stub `console` for old browsers.
* Added methods for adding `Events`.
* New methods for selecting `Nodes` added.Compatibility
-------------[`js-toolshed.js`]((build/js-toolshed.js)) works with:
* Chrome
* Firefox
* Internet Explorer 8+
* EdgeVersion
-------Version: 1.2.4 (2016-08-05)
Legal stuff
-----------Author: [Frank Boës](http://3960.org)
Copyright & license: See LICENSE.txt