Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
javascript standard library
JavaScript
Failed to load latest commit information.
assert
Animation.js Remove unused mixins, and whitespace fixed
Changelog v0.1.39
Class.js
LICENSE Add MIT license
ListPromise.js
Logger.js Add support for mixins to Class, and rename _init to init
Promise.js Use foo = null instead of delete foo where appropriate
Publisher.js
README.md Add base64 implementation by @dankogaiwq
addProps.js
after.js
array.js add array.js and range.js
arrayToObject.js arrayToObject was creating an object where the first key mapped to 0,…
asyncEach.js Improve keys.js and use if for asyncEach
asyncMap.js js engines tend to create sparse arrays under the good when given arr…
base64.js Add base64 implementation by @dankogaiwq
bind.js Add support for mixins to Class, and rename _init to init
blockFunction.js
browser.js Implement browser
check.js
client.js
clip.js make clip(X) mean clip(X, 0, X)
cookie.js uri decode cookies values in get, since we uri encode them in set
copy.js copy() now takes additional props to set on the result; copy() no lon…
crc32.js Move all the src files from lib/ to / so that they can be required wi…
create.js Don't depend on each for create
curry.js
deepCopy.js copy() now takes additional props to set on the result; copy() no lon…
defineGetter.js Implement defineGetter
delay.js Allow for canceling delayed methods
delayed.js add delayed.js
each.js use native map and forEach if available
every.js ensure every and after receive valid durations
extend.js make extend modify the original object. Useful for e.g. extend(functi…
filter.js fix filter on objects
find.js make find() and pickOne() work for objects
first.js make first() and last() work for objects as well as lists
flatten.js
flip.js
identity.js add std/identity
index.js npm doesnt do symlinks, so changed index to point pick to filter
inverse.js
invoke.js
invokeWith.js
isArguments.js
isArray.js improve isArray; add isNodeList, and include node lists in isList
isElement.js Add isElement
isFragment.js
isFunction.js
isList.js improve isArray; add isNodeList, and include node lists in isList
isNodeList.js improve isArray; add isNodeList, and include node lists in isList
isObject.js add isFunction and isObject
json.js Add json, from Douglas Crockford's https://github.com/douglascrockfor…
keys.js Improve keys.js and use if for asyncEach
last.js
makePromise.js expose the makePromise fulfillment args
map.js
merge.js implement merge
nextTick.js do not pass through arguments from setTimeout/requestAnimationFrame i…
once.js
options.js Merge branch 'master' of github.com:clover/std.js
pack.js js engines tend to create sparse arrays under the good when given arr…
package.json v0.1.40
parallel.js implement parallel(fn1, fn2, fn3, function finish(err, fn1res, fn2res…
performance.js
pick.js
pickOne.js
popup.js id is undefined - it should be winID
proto.js Don't depend on each for create
rand.js rand(["foo","bar"]) returns a random element
range.js js engines tend to create sparse arrays under the good when given arr…
recall.js Implement Promise, invokeWith, recall and the Publisher mixin
remove.js Implement remove - removes an item from an array
repeat.js Implement repeat, which takes a string and a number N and returns the…
requestAnimationFrame.js Use requestAnimationFrame polyfill from Erik Möller/Payl Irish/Tino Z…
round.js
router.js Fix multiple routes with same sup-name
setProps.js copy() now takes additional props to set on the result; copy() no lon…
slice.js
strip.js Move all the src files from lib/ to / so that they can be required wi…
sum.js make identity the default sum function, to easily sum up an array of …
throttle.js improve throttle
time.js Add support for micro and nanoseconds to time.js
toArray.js make map and asyncMap generate an object if initially given an object…
trim.js allow for trim to take null objects
unique.js make unique take a list of items and return a list where each item is…
unpack.js Move all the src files from lib/ to / so that they can be required wi…
url.js make map and asyncMap generate an object if initially given an object…
utf8_encode.js Move all the src files from lib/ to / so that they can be required wi…
waitFor.js just keep track of whether we've seen an error, not the error itself
without.js
xhr.js that { json:true } was never being used

README.md

std

Standard library javascript functionality

Acknowledgements

Something went wrong with that request. Please try again.