{"_id":"@df-legacy/ng-epoch","_rev":"2-9b6bfde5c382bc6dbe225f02ff1fa936","name":"@df-legacy/ng-epoch","dist-tags":{"latest":"1.0.8"},"versions":{"1.0.8":{"name":"@df-legacy/ng-epoch","version":"1.0.8","description":"Angular directive wrapper for EpochJS, a charting plugin by Fastly.","main":"ng-epoch.js","directories":{"example":"example"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"ssh://git@stash.sigma.sbrf.ru:7999/device_farm/ng-epoch.git"},"author":"","license":"ISC","gitHead":"4f912796410499f0b8d08d82b933f39456ad484d","_id":"@df-legacy/ng-epoch@1.0.8","_nodeVersion":"14.17.6","_npmVersion":"6.14.15","dist":{"integrity":"sha512-F67meCg4S44/7VdyvzS6AengvmVKapbXAPBJkSmfIm5EeDBZKXP422yaNnllyZmx/8IW8eq4KArVpyvPZpgJSQ==","shasum":"85de5ba881ba5ef496cd0884d245dd485c71cd46","tarball":"https://registry.npmjs.org/@df-legacy/ng-epoch/-/ng-epoch-1.0.8.tgz","fileCount":7,"unpackedSize":23278,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzwabCRA9TVsSAnZWagAA5HkP/A+Kis7rzblN2yNISPqS\nA2UU+yeXsOpYc1pjI5hGjoaF53O3tEGu7J4di1XMUA6975xDMrZdwZMmBHyJ\nvM0WvEXDy4AVTHm/FS/99HryBfdKW7tDNm0zyWUIu42zVpGpFXJ4IjTP9qxs\nlHpdObLqqLqJXey/NhqSDW45+wNacdfOmkT1RtwEWJ26sLZCWh41qyWsexaT\n0QuJV2/es4vlxLYFN0Q9np/Vgq48VuPsOBmAxubejum0FSEhaVBuapvLBXEb\nnno/2Ab4CkjJF4W/ykZW5mESRv0AiaF7NoeK5q8LadGCnMe58DQtOeRjjf1J\nXlqTjcjulm7whA2sFIskOjZmq6DnWJELVbhSuAxIqqdw2nT6cPmoXLLgfwDW\nYP+7ZvZaX4BSNivmWbTP+VIEpKk/Kv8nEJanyMU1BDQN93mltPWdb46xxlXZ\nNM9ONJhhMFXHRdUwJBBxsw1LlyCy/71INr3FLBX2QzxbAV3c509THiuQp+AK\nVQIK182ehKlIEW1kZrjQsJsD8cUZgivEUsOKw/Z7pz8PI2UuuBeAtM5tuTku\nN1GH4Z77NHhB9JWxg5yVafOT52z6sDyjLjvm2Mop6pYQxS1cd62pyBsBZspO\nLQWM7z0hGxFcgcWAlsC+UK9U0RkWwcjQDREtNolZOaf4+u2+LTLiLCx4z8Ga\nAREk\r\n=Pni2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE8qERU/qWutufHqLgY+TSh+eytuGRpFyvvBjaiPKoe4AiA73i1d0Zw3B+d0a4eqYMuzC0leyprfS9MWsbO+UIxcUg=="}]},"_npmUser":{"name":"di9","email":"other@ytka.org"},"maintainers":[{"name":"di9","email":"other@ytka.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ng-epoch_1.0.8_1633389796239_0.15117846283892988"},"_hasShrinkwrap":false}},"time":{"created":"2021-10-04T23:23:16.168Z","1.0.8":"2021-10-04T23:23:16.385Z","modified":"2022-04-05T04:13:04.311Z"},"maintainers":[{"name":"di9","email":"other@ytka.org"}],"description":"Angular directive wrapper for EpochJS, a charting plugin by Fastly.","repository":{"type":"git","url":"ssh://git@stash.sigma.sbrf.ru:7999/device_farm/ng-epoch.git"},"license":"ISC","readme":"## ng-epoch\n\n... is an AngularJS directive wrapper for the [Epoch](https://github.com/fastly/epoch).\nThe creation of this set of directives stemmed from the need for a simple set of\ncharts where each chart could have data fed to it via AngularJS. I first looked\nfor a decent charting module for Angular and couldn't find one that satisfied the\nclient needs. That's when I stumbled upon Epoch.\n\n### Requirements\n\nFirst, it should be obvious that ng-epoch will depend on [Epoch](https://github.com/fastly/epoch)\nand any of it's dependencies. Keep this in mind should you choose to install\nmanually. Please read the installation instructions on the Epoch project site\nfor further help. Other than that, ng-epoch only requires AngularJS 1.2+.\n\n### Installation\n\n#### Automated installation via Bower\n\n```\nbower install ng-epoch\n```\n\nThis will download the latest version of ng-epoch and it's dependencies into\nyour project. Those dependencies are:\n\n* [AngularJS](https://angularjs.org/)\n* [d3](https://github.com/mbostock/d3)\n* [jQuery](http://jquery.com/)\n* [Epoch](https://github.com/fastly/epoch)\n\n**Important:** When including the libraries in your page, ensure that D3 is\nloaded before Epoch.\n\n#### Manual Installation (Old Skool style)\n\nVisit each of the project sites listed above and download their packages and\nunarchive them into your project directory. Then proceed to the Preparation\nsteps below.\n\n#### Manual Installation (Hardcore Parkour style)\n\nIf you can locate CDN sources for each of the above listed libraries, and you\nprefer CDN distributions, then identify the URLs for the libraries you can,\ndownload the source packages you can't find CDNs for applying the Old Skool\nmethod above, and finally proceed to the Preparation steps below.\n\n### Preparation\n\nIn the head of your page, include the base stylesheet. Instructions for customizing\nchart styles is available on the [Epoch Project Site](http://fastly.github.io/epoch).\n\n```html\n<link rel=\"stylesheet\" href=\"[PATH_TO_BOWER_COMPNENTS]/epoch/epoch.min.css\" />\n```\n\nThen, where you load your javascript sources, add the following sources.\n\nIf you do not already have jQuery and AngularJS included:\n\n```html\n<script src=\"[PATH_TO_BOWER_COMPNENTS]/jquery/dist/jquery.min.js\"></script>\n<script src=\"[PATH_TO_BOWER_COMPNENTS]/angular/angular.min.js\"></script>\n```\n\nAfter you load those two libraries, include:\n\n```html\n<script src=\"[PATH_TO_BOWER_COMPNENTS]/d3/d3.min.js\"></script>\n<script src=\"[PATH_TO_BOWER_COMPNENTS]/epoch/epoch.min.js\"></script>\n<script src=\"[PATH_TO_BOWER_COMPNENTS]/ng-epoch/ng-epoch.js\"></script>\n```\n\nTo ensure proper functionality, make sure that the sources are loaded in this\ngeneral order.\n\n### Implementation\n\nNow for the fun part... create a chart. Unfortunately, I haven't gotten this far\nin documenting this little gem. I will update this readme when I have a little\nmore time. I am also working on a gh-pages. In the meantime, I will refer you\nto the testpage.html under the example directory and say \"Good luck. Kirk, out.\"\n\n### Copyright / Legal\n\nI claim no copyright for any of the supporting libraries. Please refer to their\ncopyright notices for usage and restrictions.\n\nIn regards to the ng-epoch source, I'm keeping it kindergarten.\n\n* If you like it, use it.\n* If you don't like it, don't use it.\n* If you make or have suggestions for improvements, share please.\n","readmeFilename":"README.md"}