JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 534817
  • Score
    100M100P100Q183174F
  • License MIT

Modular Utilities

Package Exports

  • mout
  • mout/array
  • mout/array/append
  • mout/array/collect
  • mout/array/combine
  • mout/array/compact
  • mout/array/contains
  • mout/array/difference
  • mout/array/equals
  • mout/array/every
  • mout/array/filter
  • mout/array/find
  • mout/array/findIndex
  • mout/array/findLast
  • mout/array/findLastIndex
  • mout/array/flatten
  • mout/array/forEach
  • mout/array/groupBy
  • mout/array/indexOf
  • mout/array/insert
  • mout/array/intersection
  • mout/array/invoke
  • mout/array/join
  • mout/array/last
  • mout/array/lastIndexOf
  • mout/array/map
  • mout/array/max
  • mout/array/min
  • mout/array/pick
  • mout/array/pluck
  • mout/array/range
  • mout/array/reduce
  • mout/array/reduceRight
  • mout/array/reject
  • mout/array/remove
  • mout/array/removeAll
  • mout/array/shuffle
  • mout/array/slice
  • mout/array/some
  • mout/array/sort
  • mout/array/sortBy
  • mout/array/split
  • mout/array/toLookup
  • mout/array/union
  • mout/array/unique
  • mout/array/xor
  • mout/array/zip
  • mout/collection
  • mout/collection/forEach
  • mout/collection/make_
  • mout/collection/map
  • mout/collection/pluck
  • mout/collection/size
  • mout/date
  • mout/date/dayOfTheYear
  • mout/date/diff
  • mout/date/parseIso
  • mout/date/startOf
  • mout/date/strftime
  • mout/function
  • mout/function/bind
  • mout/function/compose
  • mout/function/debounce
  • mout/function/identity
  • mout/function/makeIterator_
  • mout/function/partial
  • mout/function/prop
  • mout/function/throttle
  • mout/function/times
  • mout/function/wrap
  • mout/lang
  • mout/lang/clone
  • mout/lang/createObject
  • mout/lang/deepClone
  • mout/lang/deepEquals
  • mout/lang/inheritPrototype
  • mout/lang/isArguments
  • mout/lang/isArray
  • mout/lang/isBoolean
  • mout/lang/isDate
  • mout/lang/isEmpty
  • mout/lang/isFinite
  • mout/lang/isFunction
  • mout/lang/isInteger
  • mout/lang/isKind
  • mout/lang/isNaN
  • mout/lang/isNull
  • mout/lang/isNumber
  • mout/lang/isObject
  • mout/lang/isPlainObject
  • mout/lang/isPrimitive
  • mout/lang/isRegExp
  • mout/lang/isString
  • mout/lang/isUndefined
  • mout/lang/kindOf
  • mout/lang/toArray
  • mout/lang/toNumber
  • mout/lang/toString
  • mout/math
  • mout/math/clamp
  • mout/number
  • mout/number/currencyFormat
  • mout/number/enforcePrecision
  • mout/number/toInt
  • mout/object
  • mout/object/contains
  • mout/object/deepFillIn
  • mout/object/deepMatches
  • mout/object/deepMixIn
  • mout/object/equals
  • mout/object/every
  • mout/object/fillIn
  • mout/object/filter
  • mout/object/find
  • mout/object/forIn
  • mout/object/forOwn
  • mout/object/functions
  • mout/object/get
  • mout/object/has
  • mout/object/hasOwn
  • mout/object/keys
  • mout/object/map
  • mout/object/max
  • mout/object/merge
  • mout/object/min
  • mout/object/mixIn
  • mout/object/omit
  • mout/object/pick
  • mout/object/pluck
  • mout/object/reduce
  • mout/object/reject
  • mout/object/set
  • mout/object/size
  • mout/object/some
  • mout/object/unset
  • mout/object/values
  • mout/queryString
  • mout/queryString/encode
  • mout/queryString/getParam
  • mout/queryString/setParam
  • mout/random
  • mout/random/choice
  • mout/random/guid
  • mout/random/randHex
  • mout/random/randInt
  • mout/random/randString
  • mout/string
  • mout/string/camelCase
  • mout/string/contains
  • mout/string/crop
  • mout/string/endsWith
  • mout/string/escapeHtml
  • mout/string/escapeRegExp
  • mout/string/hyphenate
  • mout/string/interpolate
  • mout/string/lowerCase
  • mout/string/lpad
  • mout/string/ltrim
  • mout/string/makePath
  • mout/string/pascalCase
  • mout/string/removeNonWord
  • mout/string/repeat
  • mout/string/replaceAccents
  • mout/string/rtrim
  • mout/string/sentenceCase
  • mout/string/slugify
  • mout/string/startsWith
  • mout/string/trim
  • mout/string/typecast
  • mout/string/unCamelCase
  • mout/string/underscore
  • mout/string/upperCase
  • mout/time
  • mout/time/convert
  • mout/time/now

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mout) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

mout

http://moutjs.com/

Build Status Downloads Version

All code is library agnostic and consist mostly of helper methods that aren't directly related with the DOM, the purpose of this library isn't to replace Dojo, jQuery, YUI, Mootools, etc, but to provide modular solutions for common problems that aren't solved by most of them. Consider it as a crossbrowser JavaScript standard library.

Main goals

  • increase code reuse;
  • be clear (code should be clean/readable);
  • be easy to debug;
  • be easy to maintain;
  • follow best practices;
  • follow standards when possible;
  • don't convert JavaScript into another language!
  • be compatible with other frameworks;
  • be modular;
  • have unit tests for all modules;
  • work on multiple environments (IE7+, modern browsers, node.js);

What shouldn't be here

  • UI components;
  • CSS selector engine;
  • Event system - pub/sub;
  • Template engine;
  • Anything that isn't generic enough to be on a standard library;
  • Anything that could be a separate library and/or isn't a modular utility...

API Documentation

Online documentation can be found at http://moutjs.com/ or inside the doc folder.

FAQ / Wiki / IRC

For more info about project structure, design decisions, tips, how to contribute, build system, etc, please check the project wiki.

We also have an IRC channel #moutjs on irc.freenode.net

License

Released under the MIT License.