tjmehta/101

2.0.0

tjmehta opened this issue · 3 comments

es6 utils removal or deprecations?

rename mutable methods to mutable-
rename put and omit to set and delete/del

Another suggestion would be to have a 101/mut/ namespace for mutable functions. This makes it easier to spot which are immutable, and allows you to use the same names for immutable and mutable versions.

require('101/delete')
require('101/mut/delete')

On the README, it'd be nice to have pointers to what is not implemented (eg, deprecations). So something like:

Deprecations

These functions are no longer available in 2.0.

Function Equivalent
map Array.prototype.map, npm: object-loops/map
assign Object.assign, npm: object-assign
find Array.prototype.find
isArray Array.isArray

Re: ES6 transpilation (#42): I'd like to avoid build steps if it's avoidable. 101 is about small micro-utilities. Writing in ES6 syntax isn't going to give any significant productivity boost, nor will it make 101 more useful in any way.

If you do decide on writing in es6, just avoid using export default myFunction — it'll make non-Babelers need to do require('101/del').default :(

(Just my personal opinion, of course!)