Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/johnlouderback/xtnd

XTND lets you safely extend built-in JS prototypes using namespaces.
https://github.com/johnlouderback/xtnd

Last synced: 25 days ago
JSON representation

XTND lets you safely extend built-in JS prototypes using namespaces.

Awesome Lists containing this project

README

        

#What Is XTND?
XTND is a 2.8KB (1KB gzipped) library for JavaScript. You can use it to safely extend built-in JS prototypes using namespaces.

```javascript
var arr = [
[1,2],
[3,4]
]
var newArr = arr.xtnd().joinChildArrays();

//newArr === [1,2,3,4]

```