|
11 months ago | |
---|---|---|
.. | ||
src | 11 months ago | |
CHANGELOG.md | 11 months ago | |
README.md | 11 months ago | |
package.json | 11 months ago | |
tsconfig.json | 11 months ago | |
webpack.config.js | 11 months ago |
katamari
is a collection of various data structures and reusable higher-order functions. It does not bundle any commands. It is only a collection of modules.
katamari
is available as an npm
package. You can install it via the npm package @ephox/katamari
npm install @ephox/katamari
.
Note, refrain from using any modules that are not in the
api
package.
Below is a list of commonly used parts of katamari
Optional
: A representation of None or Some(x)Result
: A representation of Error(str) or Value(v)Future
: An abstraction over an asynchronous valueFutureResult
: A composition of a Result
and a Future
LazyValue
: An asynchronous value that is only calculated onceCell
: A mutable piece of dataSingleton
: A mutable piece of optional dataAdt
: An approximate representation of an Algebraic Data Type in JavaScript. It is based on the Church Encoding method.Arr
: collection of functions that operate on arraysObj
: collection of functions that operate on JavaScript objectsMerger
: collection of functions to merge JavaScript objectskatamari
uses bedrock
to run atomic tests. The tests are chiefly written using jsverify
$ yarn test