{
  "_args": [
    [
      {
        "raw": "ease-component@latest",
        "scope": null,
        "escapedName": "ease-component",
        "name": "ease-component",
        "rawSpec": "latest",
        "spec": "latest",
        "type": "tag"
      },
      "/Users/robertdodson/Documents/htdocs/arduino/node_modules/johnny-five"
    ]
  ],
  "_from": "ease-component@latest",
  "_id": "ease-component@1.0.0",
  "_inCache": true,
  "_installable": true,
  "_location": "/ease-component",
  "_npmUser": {
    "name": "tjholowaychuk",
    "email": "tj@vision-media.ca"
  },
  "_npmVersion": "1.2.14",
  "_phantomChildren": {},
  "_requested": {
    "raw": "ease-component@latest",
    "scope": null,
    "escapedName": "ease-component",
    "name": "ease-component",
    "rawSpec": "latest",
    "spec": "latest",
    "type": "tag"
  },
  "_requiredBy": [
    "/johnny-five"
  ],
  "_resolved": "https://registry.npmjs.org/ease-component/-/ease-component-1.0.0.tgz",
  "_shasum": "b375726db0b5b04595b77440396fec7daa5d77c9",
  "_shrinkwrap": null,
  "_spec": "ease-component@latest",
  "_where": "/Users/robertdodson/Documents/htdocs/arduino/node_modules/johnny-five",
  "component": {
    "scripts": {
      "ease/index.js": "index.js"
    }
  },
  "dependencies": {},
  "description": "Easing functions (for canvas etc)",
  "devDependencies": {},
  "directories": {},
  "dist": {
    "shasum": "b375726db0b5b04595b77440396fec7daa5d77c9",
    "tarball": "https://registry.npmjs.org/ease-component/-/ease-component-1.0.0.tgz"
  },
  "keywords": [
    "ease",
    "easing",
    "tween"
  ],
  "license": "MIT",
  "maintainers": [
    {
      "name": "tjholowaychuk",
      "email": "tj@vision-media.ca"
    }
  ],
  "name": "ease-component",
  "optionalDependencies": {},
  "readme": "\n# ease\n\n  Easing functions (for canvas etc)\n\n  - linear\n  - inQuad\n  - outQuad\n  - inOutQuad\n  - inCube\n  - outCube\n  - inOutCube\n  - inQuart\n  - outQuart\n  - inOutQuart\n  - inQuint\n  - outQuint\n  - inOutQuint\n  - inSine\n  - outSine\n  - inOutSine\n  - inExpo\n  - outExpo\n  - inOutExpo\n  - inCirc\n  - outCirc\n  - inOutCirc\n  - inBack\n  - outBack\n  - inOutBack\n  - inBounce\n  - outBounce\n  - inOutBounce\n\n## Aliases\n\n  - in-quad\n  - out-quad\n  - in-out-quad\n  - in-cube\n  - out-cube\n  - in-out-cube\n  - in-quart\n  - out-quart\n  - in-out-quart\n  - in-quint\n  - out-quint\n  - in-out-quint\n  - in-sine\n  - out-sine\n  - in-out-sine\n  - in-expo\n  - out-expo\n  - in-out-expo\n  - in-circ\n  - out-circ\n  - in-out-circ\n  - in-back\n  - out-back\n  - in-out-back\n  - in-bounce\n  - out-bounce\n  - in-out-bounce\n\n## Example\n\n```js\nvar ease = require('ease');\nvar requestAnimationFrame = require('raf');\nvar canvas = document.querySelector('canvas');\nvar ctx = canvas.getContext('2d');\n\nvar stop = false;\nfunction animate() {\n  if (stop) return;\n  requestAnimationFrame(animate);\n  draw();\n}\n\nvar startx = 20;\nvar x = startx;\nvar destx = 300;\nvar y = 400 / 2;\nvar duration = 1000;\nvar start = Date.now();\nvar end = start + duration;\n\nfunction draw() {\n  var now = Date.now();\n  if (now - start >= duration) stop = true;\n  var p = (now - start) / duration;\n  val = ease.inOutBounce(p);\n  x = startx + (destx - startx) * val;\n  canvas.width = canvas.width;\n  ctx.fillStyle = 'red';\n  ctx.arc(x, y, 10, 0, Math.PI * 2, false);\n  ctx.fill();\n}\n\nanimate();\n\n```\n\n# License\n\n  MIT\n",
  "readmeFilename": "Readme.md",
  "version": "1.0.0"
}
