From e6783d8df78e6e0ceadfebf7483e2e2b8392622d Mon Sep 17 00:00:00 2001 From: skratchdot Date: Wed, 25 Nov 2015 08:51:24 -0500 Subject: [PATCH] updating documentation --- README.md | 8 +++++++- package.json | 6 ++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d891eda..408e16a 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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 diff --git a/package.json b/package.json index 2c3cc9d..214fc13 100644 --- a/package.json +++ b/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": { @@ -35,6 +35,8 @@ "out of bounds", "negative", "float", - "decimal" + "decimal", + "array-jumper", + "negative-array" ] }