{
  "_args": [
    [
      {
        "raw": "formatoid@^1.0.0",
        "scope": null,
        "escapedName": "formatoid",
        "name": "formatoid",
        "rawSpec": "^1.0.0",
        "spec": ">=1.0.0 <2.0.0",
        "type": "range"
      },
      "/home/zoltan/src/pnpm/pnpm/packages/pnpm/node_modules/daty"
    ]
  ],
  "_from": "formatoid@^1.0.0",
  "_hasShrinkwrap": false,
  "_id": "formatoid@1.2.3",
  "_location": "/formatoid",
  "_nodeVersion": "10.15.0",
  "_npmOperationalInternal": {
    "host": "s3://npm-registry-packages",
    "tmp": "tmp/formatoid_1.2.3_1546531690455_0.6906671028073501"
  },
  "_npmUser": {
    "name": "ionicabizau",
    "email": "bizauionica@gmail.com"
  },
  "_npmVersion": "6.4.1",
  "_phantomChildren": {},
  "_requested": {
    "raw": "formatoid@^1.0.0",
    "scope": null,
    "escapedName": "formatoid",
    "name": "formatoid",
    "rawSpec": "^1.0.0",
    "spec": ">=1.0.0 <2.0.0",
    "type": "range"
  },
  "_requiredBy": [
    "/daty"
  ],
  "_resolved": "https://registry.npmjs.org/formatoid/-/formatoid-1.2.3.tgz",
  "_shasum": "f9c1628fecbdfb56e422e5000cd2e81c1710589f",
  "_shrinkwrap": null,
  "_spec": "formatoid@^1.0.0",
  "_where": "/home/zoltan/src/pnpm/pnpm/packages/pnpm/node_modules/daty",
  "author": {
    "name": "Ionică Bizău",
    "email": "bizauionica@gmail.com",
    "url": "https://ionicabizau.net"
  },
  "blah": {
    "related": [
      "add-subtract-date"
    ]
  },
  "bugs": {
    "url": "https://github.com/IonicaBizau/formatoid/issues"
  },
  "dependencies": {
    "days": "^1.0.1",
    "fillo": "^1.0.0",
    "months": "^1.0.0",
    "parse-it": "^1.0.0"
  },
  "description": "Tiny and fast module for formatting date objects.",
  "devDependencies": {},
  "directories": {
    "example": "example"
  },
  "dist": {
    "integrity": "sha512-CkI0aK01nKhHoFZByDKw/yrNPy+g56DNIEmlq0Q67grdR/LLV8Orc9gsTGVP7XufM3bZg8iuD5UsVfkOdJo2yg==",
    "shasum": "f9c1628fecbdfb56e422e5000cd2e81c1710589f",
    "tarball": "https://registry.npmjs.org/formatoid/-/formatoid-1.2.3.tgz",
    "fileCount": 4,
    "unpackedSize": 13385,
    "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcLjNrCRA9TVsSAnZWagAAZkAQAJ96TMegEOsEs88qJwmW\nFOng1EX40Q7on+5ipWJCZceqcljkjEq18SKlX0tfpRqrPt7gg16QOQHGk0PJ\n3N3imzKNq9WGSndiGCGGes6ZNGPU2LCJKY907l2j4jiXPOnUzGIfjtjYMi9a\nHZPFTw8NFOqqATzRl8IASz7egDAwu9EIUxMgtIAPGqGsVQ5Sqv0Q3A4wbFyl\nfMadP9SgbuYbBvl4a82qXm8wdN02DVU+hamECCazcdaYqXYqXiB/ehaqEGwV\nxfSCLzJ5rP3DNURzT7pUan6bkoxBzuB5UMjrhy4awRqzLyZ8bUaUCYAnolY1\njo1hQsJG/w1dWQCSH2LlhGZH3ovCRuqZZnNK7y9mm20tlUzjhbyXi6J47z5v\nIUo3v4dK6CantCF5s76nIfmZpzedh47s+MSg0kmj32ba03f05HF3uOoqCVRF\nmdg1TVN8cvniPPVAdr2GOxE3IrzVAt0v0g+1y411bFimlo/Hm3NjDtS4n9eW\nIm6pO+AMQd0avUQYZ+xDF4Zg/NzyEB+g7x0RoD12pwT2IRGz3oeR3JxS1aTh\nAH6XwSxJMQGRmVJ9fEhOeeVv+IOEnmW+O3D8TBN+hwAzKBCo9XTe1UHAfGsX\nGArAhcYg0S9ErPnGYTQx7G5+icJDCEMwBeV3O9Op5ectL0yiz+SbAokAOfNk\nn42v\r\n=8QN+\r\n-----END PGP SIGNATURE-----\r\n"
  },
  "files": [
    "bin/",
    "app/",
    "lib/",
    "dist/",
    "src/",
    "scripts/",
    "resources/",
    "menu/",
    "cli.js",
    "index.js",
    "bloggify.js",
    "bloggify.json",
    "bloggify/"
  ],
  "gitHead": "0d88541b936a0111dd6404004b66f565395d5278",
  "homepage": "https://github.com/IonicaBizau/formatoid#readme",
  "keywords": [
    "format",
    "date"
  ],
  "license": "MIT",
  "main": "lib/index.js",
  "maintainers": [
    {
      "name": "ionicabizau",
      "email": "bizauionica@gmail.com"
    }
  ],
  "name": "formatoid",
  "optionalDependencies": {},
  "readme": "<!-- Please do not edit this file. Edit the `blah` field in the `package.json` instead. If in doubt, open an issue. -->\n\n\n# formatoid\n\n [![Support me on Patreon][badge_patreon]][patreon] [![Buy me a book][badge_amazon]][amazon] [![PayPal][badge_paypal_donate]][paypal-donations] [![Ask me anything](https://img.shields.io/badge/ask%20me-anything-1abc9c.svg)](https://github.com/IonicaBizau/ama) [![Version](https://img.shields.io/npm/v/formatoid.svg)](https://www.npmjs.com/package/formatoid) [![Downloads](https://img.shields.io/npm/dt/formatoid.svg)](https://www.npmjs.com/package/formatoid) [![Get help on Codementor](https://cdn.codementor.io/badges/get_help_github.svg)](https://www.codementor.io/johnnyb?utm_source=github&utm_medium=button&utm_term=johnnyb&utm_campaign=github)\n\n<a href=\"https://www.buymeacoffee.com/H96WwChMy\" target=\"_blank\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/yellow_img.png\" alt=\"Buy Me A Coffee\"></a>\n\n> Tiny and fast module for formatting date objects.\n\n## :cloud: Installation\n\n```sh\n# Using npm\nnpm install --save formatoid\n\n# Using yarn\nyarn add formatoid\n```\n\n\n## :clipboard: Example\n\n\n\n```js\nconst formatoid = require(\"formatoid\");\n\nvar d = new Date(1989, 11, 21);\n\nconsole.log(formatoid(d, \"MM/DD/YYYY, h:mm\"));\n// => 12/20/1989, 12:00\n\nconsole.log(formatoid(d, \"MMMM D, YYYY\"));\n// => December 20, 1989\n\nconsole.log(formatoid(d, \"dddd, MMMM, D, YYYY h:m A\"));\n// => Wednesday, December, 20, 1989 12:0 AM\n\nconsole.log(formatoid(d, \"YYYYMMDDT0HHMMSSZ\"));\n// => 19891221T0001200+02:00\n\nd._useUTC = true;\nconsole.log(formatoid(d, \"dddd, MMMM, D, YYYY h:m A\"));\n// => 19891221T0001200+02:00\n```\n\n\n\n## :question: Get Help\n\nThere are few ways to get help:\n\n 1. Please [post questions on Stack Overflow](https://stackoverflow.com/questions/ask). You can open issues with questions, as long you add a link to your Stack Overflow question.\n 2. For bug reports and feature requests, open issues. :bug:\n\n 3. For direct and quick help, you can [use Codementor](https://www.codementor.io/johnnyb). :rocket:\n\n\n\n## :memo: Documentation\n\n\n### `formatoid(i, f)`\nFormats the date into a given format.\n\nUsable format fields:\n\n - **Years**\n     - `YYYY` (e.g. `\"2015\"`)\n     - `YY` (e.g. `\"15\"`)\n - **Months**\n     - `MMMM` (e.g. `\"January\"`)\n     - `MMM` (e.g. `\"Jan\"`)\n     - `MM` (e.g. `\"01\"`)\n     - `M` (e.g. `\"1\"`)\n - **Days**\n     - `dddd` (e.g. `\"Sunday\"`)\n     - `ddd` (e.g. `\"Sun\"`)\n     - `dd` (e.g. `\"Su\"`)\n     - `d` (e.g. `\"Su\"`)\n - **Dates**\n     - `DD` (e.g. `\"07\"`)\n     - `D` (e.g. `\"7\"`)\n - **AM/PM**\n     - `A` (e.g. `\"AM\"`)\n     - `a` (e.g. `\"pm\"`)\n - **Hours**\n     - `hh` (e.g. `\"07\"`)–12 hour format\n     - `h` (e.g. `\"7\"`)\n     - `HH` (e.g. `\"07\"`)–24 hour format\n     - `H` (e.g. `\"7\"`)\n - **Minutes**\n     - `mm` (e.g. `\"07\"`)\n     - `m` (e.g. `\"7\"`)\n - **Seconds**\n     - `ss` (e.g. `\"07\"`)\n     - `s` (e.g. `\"7\"`)\n - **Fractional seconds**\n     - `S` (e.g. `0 1 2 3 ... 9`)\n     - `SS` (e.g. `00 01 02 ... 98 99`)\n     - `SS` (e.g. `000 001 002 ... 998 999`)\n - **Timezones**\n     - `Z` (e.g. `-07:00 -06:00 ... +06:00 +07:00`)\n     - `ZZ` (e.g. `-0700 -0600 ... +0600 +0700`)\n\n#### Params\n\n- **Date** `i`: The date object.\n- **String** `f`: The date format.\n\n#### Return\n- **String** The formatted date (as string).\n\n\n\n## :yum: How to contribute\nHave an idea? Found a bug? See [how to contribute][contributing].\n\n\n## :sparkling_heart: Support my projects\n\nI open-source almost everything I can, and I try to reply to everyone needing help using these projects. Obviously,\nthis takes time. You can integrate and use these projects in your applications *for free*! You can even change the source code and redistribute (even resell it).\n\nHowever, if you get some profit from this or just want to encourage me to continue creating stuff, there are few ways you can do it:\n\n\n - Starring and sharing the projects you like :rocket:\n - [![Buy me a book][badge_amazon]][amazon]—I love books! I will remember you after years if you buy me one. :grin: :book:\n - [![PayPal][badge_paypal]][paypal-donations]—You can make one-time donations via PayPal. I'll probably buy a ~~coffee~~ tea. :tea:\n - [![Support me on Patreon][badge_patreon]][patreon]—Set up a recurring monthly donation and you will get interesting news about what I'm doing (things that I don't share with everyone).\n - **Bitcoin**—You can send me bitcoins at this address (or scanning the code below): `1P9BRsmazNQcuyTxEqveUsnf5CERdq35V6`\n\n    ![](https://i.imgur.com/z6OQI95.png)\n\n\nThanks! :heart:\n\n\n## :dizzy: Where is this library used?\nIf you are using this library in one of your projects, add it in this list. :sparkles:\n\n\n - [`daty`](https://github.com/IonicaBizau/daty#readme)—A tiny library to manage date objects.\n - [`github-calendar`](https://github.com/IonicaBizau/github-calendar#readme)—Embed your GitHub contributions calendar anywhere.\n - [`react-github-calendar-x`](https://github.com/xwl7001/react-github-calendar#readme) (by Xu Wenliang)—Embed your GitHub calendar in React App.\n\n## :sparkles: Related\n\n - [`add-subtract-date`](https://github.com/IonicaBizau/add-subtract-date#readme)—Add or subtract a specified time in a date object.\n\n\n\n## :scroll: License\n\n[MIT][license] © [Ionică Bizău][website]\n\n\n[badge_patreon]: https://ionicabizau.github.io/badges/patreon.svg\n[badge_amazon]: https://ionicabizau.github.io/badges/amazon.svg\n[badge_paypal]: https://ionicabizau.github.io/badges/paypal.svg\n[badge_paypal_donate]: https://ionicabizau.github.io/badges/paypal_donate.svg\n\n[patreon]: https://www.patreon.com/ionicabizau\n[amazon]: http://amzn.eu/hRo9sIZ\n[paypal-donations]: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RVXDDLKKLQRJW\n\n[license]: http://showalicense.com/?fullname=Ionic%C4%83%20Biz%C4%83u%20%3Cbizauionica%40gmail.com%3E%20(https%3A%2F%2Fionicabizau.net)&year=2015#license-mit\n[website]: https://ionicabizau.net\n[contributing]: /CONTRIBUTING.md\n[docs]: /DOCUMENTATION.md\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+ssh://git@github.com/IonicaBizau/formatoid.git"
  },
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "version": "1.2.3"
}
