Skip to content

Commit

Permalink
updating documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
skratchdot committed Nov 25, 2015
1 parent 241b7a5 commit e6783d8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
8 changes: 7 additions & 1 deletion README.md
Expand Up @@ -19,7 +19,7 @@ index is passed in, then we travel backwards through the array to get a value.
If an index that is larger than the array is passed in, we "loop" back through
the array to get the value.

See [Usage](#Usage) below for more information or
See [Getting Started](#getting-started) below for usage instructions or
[d3-interpolate](https://github.com/d3/d3-interpolate) for information on how
we calculate float indexes.

Expand All @@ -40,6 +40,12 @@ arrayGet(['red', 'blue'], 0.5); // result: '#080080'
- [Live example on Tonic](https://tonicdev.com/npm/array-any-index)


## See Also

- [array-jumper](https://www.npmjs.com/package/array-jumper)
- [negative-array](https://www.npmjs.com/package/negative-array)


## License

Copyright (c) 2015 skratchdot
Expand Down
6 changes: 4 additions & 2 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "array-any-index",
"version": "0.0.2",
"version": "0.0.3",
"description": "get values from an array using any index: negative or float",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -35,6 +35,8 @@
"out of bounds",
"negative",
"float",
"decimal"
"decimal",
"array-jumper",
"negative-array"
]
}

0 comments on commit e6783d8

Please sign in to comment.