6.0.1 • Published 6 years ago

micron.js v6.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

micron.js deprecated

This package was moved to: @vangware/micron.

[Micron logo]

[NPM Version] [Build Status]

Standalone helper arrow functions (ES6) in 1 line. Useful for code injection, bookmarklets, debugging, etc.

ael: Listen to several events on an element or a group of elements.
atr: Set several attributes of an element or a group of elements.
cks: Get the current document cookies in object form.
cne: Creates a new element.
cry: Curry the given function.
css: Set several styles of an element or a group of elements.
del: Remove an element or a group of elements from the DOM.
dom: Parse string into DOM.
get: Alias for querySelectorAll in an array.
mrx: Takes a string and an object and makes a regex map replace.
obj: Creates a clean object.
pad: Add padding zeros to passed number.
rnd: Random string generator (up to 10 characters).
tsh: Timestamp string hash generator (up to 8 characters).
url: Parse an object into a simple string in URL format for XHR.
xhr: Alias for new XMLHttpRequest, with GET method by default.

Check the documentation for more details. You can also check the changelog.

6.0.1

6 years ago

6.0.0

6 years ago

5.0.1

6 years ago

5.0.0

6 years ago

4.1.2

6 years ago

4.1.1

6 years ago

4.1.0

6 years ago

4.0.1

6 years ago

4.0.0

6 years ago

3.2.5

6 years ago

3.2.4

6 years ago

3.2.2

6 years ago

3.2.1

6 years ago

3.1.0

7 years ago

3.0.0

7 years ago

2.4.1

8 years ago

2.4.0

8 years ago

2.3.0

8 years ago

2.2.1

8 years ago

2.2.0

8 years ago

2.1.0

8 years ago

2.0.0

8 years ago