Potassium (K) is a tiny JavaScript library that offers a very minimal but extremely useful set of utilities.
Current version: 1.0.0 (semver)
Potassium (K) has a minimal but powerful API.
Where applicable it offers fluent interfaces.
Creates a new Potassium (K) instance.
This is managed through a singleton, therefore any subsequent call to this method will return the very same instance.
Provides fluent interfaces.
Determines whether an object features a particular property.
Basically, it's a safe alias to Object.prototype.hasOwnProperty .
Determines whether the value is empty.
Determines whether the value is null.
Determines whether the value is undefined.
Creates a new namespace under the Potassium (K) namespace.
This way it's possible to create and (optionally) initialize new applications.
Provides fluent interfaces.
A NOOP. Nuff said.
Determines whether a property of an object is enumerable in for...in loops.
Basically, it's a safe alias to Object.prototype.propertyIsEnumerable .
A reliable alternative to the typeof operator.
Potassium (K) is Copyright (c) 2012 Massimo Lombardo and is available under the terms of the Apache Software License 2.0 .