core_ext is fun little project that adds additional functionality to your JS core objects.
Arrayclear// clear an array// return the first element of an array// return the first element of an array// return sentence from arrayNumber// have all mill methods// convert number to integer// return the abs value of a number// rounds a number to the nearest integer// rounds a number to the nearest integer// rounds a number to the nearest integer// be sane// return random number within a rangeObject// clone an object// merge two objects.// check if object is blank// add event emitter abillities to an objectString// have .at method that returns char from specified position// return the first char of a string// return the first char of a string// return the part of a string from supplied index// return the part of a string to supplied index// converts string to Number// pluralize a word// constantize a word// constantize a word// titleize a word// underscore a word// dasherize a word// tableize a word// classify a word// humanize a word// repeat string n times// check if number is within a given range
$ npm install core_ext
$ npm install$ make test
Copyright (C) 2012 Veselin Todorov
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.