1.0.8 • Published 8 years ago

tiny-tuple v1.0.8

Weekly downloads
4
License
BSD-3-Clause
Repository
github
Last release
8 years ago

tiny-tuple

Tiny tuple for Client or Server, which extends Array.

build status

Example

var tuple = require('tiny-tuple'),
    x = tuple(1,2,3, tuple(2,4));

x.length; // 4
x.extract(); // [1,2,3,2,4]
Object.isFrozen(x); // true

API

extract()

Returns a frozen flat Array of the Tuple

How can I load Tiny Tuple?

Tiny Tuple supports AMD loaders (require.js, curl.js, etc.), node.js & npm (npm install tiny-tuple), or using a script tag.

License

Copyright (c) 2015 Jason Mulligan Licensed under the BSD-3 license

1.0.8

8 years ago

1.0.7

8 years ago

1.1.0

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago