Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #29179
| Newsgroups | comp.lang.javascript |
|---|---|
| Date | 2016-01-09 05:54 -0800 |
| References | <f2b66424-2df1-4db9-9b23-a8fa8a3822c1@googlegroups.com> <1f898f71-c031-4d09-982b-65e8a117dde6@googlegroups.com> |
| Message-ID | <2d038517-e626-4952-83a8-04be16278fd2@googlegroups.com> (permalink) |
| Subject | Re: Javascript Object Extensions Updated |
| From | Simon Blackwell <syblackwell@anywhichway.com> |
On Thursday, January 7, 2016 at 5:45:18 PM UTC-5, Michael Haufe (TNO) wrote: > On Thursday, January 7, 2016 at 4:29:25 PM UTC-6, Simon Blackwell wrote: > > Javascript Object Extensions is a browser and Node.js library that adds missing and convenience functions and properties to Number, String, Boolean, Date, Array and Set. > > > > It adds lt, lte, eq, neq, gte, gt to Number, String, Boolean, Date. Dates can be compared with precision, e.g. *.lt(date,"Y")*. > > > > Between and outside are added to Number and String. > > > > For language processing apps the useful functions soundex and echoes are added to String. > > > > The methods isLeapYear and getLastDayOfMonth are added to Date as well as properties for year, fullYear, month, etc. Joex also adds data members to represent all of the parts of a Date so that they can be treated in a declarative manner. > > > > Intersection, intersects, disjoint, coincident, crossproduct, min, max, avg are added to to Array and Set. And, some, every, and toJSON are added to Set. toJSON results in an array like representation. > > > > Available at https://github.com/anywhichway/joex/ and via https://www.npmjs.com/package/joex > > "The disadvantages of Javascript polyfills": > <http://adamsilver.io/articles/the-disadvantages-of-javascript-polyfills/> I can only presume this is an objection to this library since there were no comments. I am fully aware of the danger of polyfills and will update the README of the libary to point to the referenced article. That being said, I hold there are cases where polyfills may be the only choice, i.e. where instanceof semantics must be preserved or major portions of existing code will have to be re-written (introducing yet another set of risks). This library was designed in such a way that the programmer has the ability to select which polyfills to use and can take the risks in an informed manner.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Javascript Object Extensions Updated Simon Blackwell <syblackwell@anywhichway.com> - 2016-01-07 14:29 -0800
Re: Javascript Object Extensions Updated "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-01-07 14:45 -0800
Re: Javascript Object Extensions Updated Aleksandro <aleksandro@gmx.com> - 2016-01-07 21:37 -0300
Re: Javascript Object Extensions Updated Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2016-01-07 17:43 -0800
Re: Javascript Object Extensions Updated "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-01-07 18:03 -0800
Re: Javascript Object Extensions Updated Simon Blackwell <syblackwell@anywhichway.com> - 2016-01-09 05:54 -0800
Re: Javascript Object Extensions Updated Simon Blackwell <syblackwell@anywhichway.com> - 2016-01-09 06:12 -0800
Re: Javascript Object Extensions Updated Aleksandro <aleksandro@gmx.com> - 2016-01-09 12:27 -0300
Re: Javascript Object Extensions Updated "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-01-09 17:22 +0100
Re: Javascript Object Extensions Updated Aleksandro <aleksandro@gmx.com> - 2016-01-09 13:31 -0300
Re: Javascript Object Extensions Updated Aleksandro <aleksandro@gmx.com> - 2016-01-09 13:31 -0300
Re: Javascript Object Extensions Updated "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-01-09 22:35 +0100
Re: Javascript Object Extensions Updated Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-01-09 21:49 +0000
Re: Javascript Object Extensions Updated Aleksandro <aleksandro@gmx.com> - 2016-01-09 19:06 -0300
Re: Javascript Object Extensions Updated "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-01-09 23:21 +0100
Re: Javascript Object Extensions Updated Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-01-10 01:38 +0000
Re: Javascript Object Extensions Updated "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-01-10 11:26 +0100
Re: Javascript Object Extensions Updated Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-01-10 13:32 +0100
Re: Javascript Object Extensions Updated "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-01-10 20:04 +0100
Re: Javascript Object Extensions Updated Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-01-10 20:39 +0100
Re: Javascript Object Extensions Updated Aleksandro <aleksandro@gmx.com> - 2016-01-10 17:09 -0300
Re: Javascript Object Extensions Updated Simon Blackwell <syblackwell@anywhichway.com> - 2016-01-09 14:01 -0800
Re: Javascript Object Extensions Updated "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-01-09 16:19 -0800
Re: Javascript Object Extensions Updated Aleksandro <aleksandro@gmx.com> - 2016-01-09 21:49 -0300
csiph-web