that-thing
v1.0.0
Published
That thing you were looking for
Downloads
1
Readme
Installation
$ npm install --save that-thing # duh
It works in browsers too (tested in Chrome), just include the index.js
Usage
Just use the keyword that
, it's that simple.
How that works
It adds a property to the global object (whatever that is) called that
with a getter that returns a new random variable every time it's read.
IE support
Only NodeJS and actual browsers are supported
Disclaimer
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Pasted that stuff from the MIT license, just in case.