{"_id":"@arvellon97/nn-storefront-ts","_rev":"3-58865a5714460f5ce19b12a7e80f7c0e","name":"@arvellon97/nn-storefront-ts","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@arvellon97/nn-storefront-ts","version":"1.0.0","description":"","main":"index.js","scripts":{"test":"exit 0"},"repository":{"type":"git","url":"git+https://github.com/Arvelon/nn-storefront-ts.git"},"author":{"name":"Jonas Stasseyns"},"license":"ISC","bugs":{"url":"https://github.com/Arvelon/nn-storefront-ts/issues"},"homepage":"https://github.com/Arvelon/nn-storefront-ts#readme","_id":"@arvellon97/nn-storefront-ts@1.0.0","gitHead":"d1c1678f2facca0b8e81c2c80586e3273242ff99","_nodeVersion":"21.7.1","_npmVersion":"10.5.0","dist":{"integrity":"sha512-5/Lvukaw30nycQHgRJC1SKSMoEvlSzubki+SFoHDkyW40p1SoGcn8J6iw2aia6anYN9F8tnuf21TICjtjJu8rw==","shasum":"d779e5a10f69006d4f64cc5fe86bacdc4aa566f3","tarball":"https://registry.npmjs.org/@arvellon97/nn-storefront-ts/-/nn-storefront-ts-1.0.0.tgz","fileCount":15,"unpackedSize":11939,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGrTWbAdK7hQgv02gDxyFT/4YIbQjTtdS1Kvod/oP4GJAiAU8SkNEqsEZcMNsjpt20cRnVj6A2ACnxGe5M+ykCX9hA=="}]},"_npmUser":{"name":"arvellon97","email":"stasseynsjonas97@gmail.com"},"directories":{},"maintainers":[{"name":"arvellon97","email":"stasseynsjonas97@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nn-storefront-ts_1.0.0_1713464247914_0.1766705351174669"},"_hasShrinkwrap":false},"1.0.1":{"name":"@arvellon97/nn-storefront-ts","version":"1.0.1","description":"","main":"index.js","scripts":{"test":"exit 0"},"repository":{"type":"git","url":"git+https://github.com/Arvelon/nn-storefront-ts.git"},"author":{"name":"Jonas Stasseyns"},"license":"ISC","bugs":{"url":"https://github.com/Arvelon/nn-storefront-ts/issues"},"homepage":"https://github.com/Arvelon/nn-storefront-ts#readme","_id":"@arvellon97/nn-storefront-ts@1.0.1","gitHead":"aff5c3af9d05b1e565abfd3f359576e804ab14ce","_nodeVersion":"21.7.1","_npmVersion":"10.5.0","dist":{"integrity":"sha512-k1v3gej6qNaFpXHp4CD9PQgGB6tZUiYL6qmEc5LBblrgyNxDaNc+LRD9zkfvUwV99AWga2PBzL12ORlxB7YKOg==","shasum":"0327c2a63eb0ccee0ae93da8f4d0206f5d61666f","tarball":"https://registry.npmjs.org/@arvellon97/nn-storefront-ts/-/nn-storefront-ts-1.0.1.tgz","fileCount":14,"unpackedSize":12139,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCaLK2/HXeBBjlB96tNqvXBjic2dlvr7SgwNsI2n6gP7wIgcEeNcLCHroDG6We0c+HZcJStxBmvWlbEbq11hIISfHU="}]},"_npmUser":{"name":"arvellon97","email":"stasseynsjonas97@gmail.com"},"directories":{},"maintainers":[{"name":"arvellon97","email":"stasseynsjonas97@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nn-storefront-ts_1.0.1_1713465022644_0.9282926562433687"},"_hasShrinkwrap":false},"1.0.2":{"name":"@arvellon97/nn-storefront-ts","version":"1.0.2","description":"","main":"index.js","scripts":{"test":"exit 0"},"repository":{"type":"git","url":"git+https://github.com/Arvelon/nn-storefront-ts.git"},"author":{"name":"Jonas Stasseyns"},"license":"ISC","bugs":{"url":"https://github.com/Arvelon/nn-storefront-ts/issues"},"homepage":"https://github.com/Arvelon/nn-storefront-ts#readme","_id":"@arvellon97/nn-storefront-ts@1.0.2","gitHead":"15b56ff64701197f5e852166d8a8b0f4d6188b4e","_nodeVersion":"21.7.1","_npmVersion":"10.5.0","dist":{"integrity":"sha512-kV9A8oIW5QYbLMQ4PK6ae8ywUYc5POu4jL2JL1lEGIuQlKG78ab9SXK8vxS97zacopQ4A8av1VPxPZgdu+QuFA==","shasum":"e750101f93ea88bfddc94e71368ca9f0f6b46bfe","tarball":"https://registry.npmjs.org/@arvellon97/nn-storefront-ts/-/nn-storefront-ts-1.0.2.tgz","fileCount":15,"unpackedSize":12245,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIChYUqWHJvTgkg3PTH5BkMM5wZ2PHwgbZX3w70zdGpTQAiBOOp63vZapnaqn3XTiF6F0UI9jrx4zKzuPAGNMGvHMPg=="}]},"_npmUser":{"name":"arvellon97","email":"stasseynsjonas97@gmail.com"},"directories":{},"maintainers":[{"name":"arvellon97","email":"stasseynsjonas97@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nn-storefront-ts_1.0.2_1713465356911_0.955625114065118"},"_hasShrinkwrap":false},"1.0.3":{"name":"@arvellon97/nn-storefront-ts","version":"1.0.3","description":"## Usage","main":"index.js","scripts":{"test":"exit 0"},"repository":{"type":"git","url":"git+https://github.com/Arvelon/nn-storefront-ts.git"},"author":{"name":"Jonas Stasseyns"},"license":"ISC","bugs":{"url":"https://github.com/Arvelon/nn-storefront-ts/issues"},"homepage":"https://github.com/Arvelon/nn-storefront-ts#readme","_id":"@arvellon97/nn-storefront-ts@1.0.3","gitHead":"7de19c0546d420865f738ba06bb32a818b5681ee","_nodeVersion":"21.7.1","_npmVersion":"10.5.0","dist":{"integrity":"sha512-8vZQUOJLcv7zEiSUi6tUJHxkwecLE4P0Pe2+o+tUKChKrC65jhXUB/8C8ib8baOiJYibcMbybogqB1mvG3fyzQ==","shasum":"5ac15fd420862be3e4052f2f818549a33b4e5418","tarball":"https://registry.npmjs.org/@arvellon97/nn-storefront-ts/-/nn-storefront-ts-1.0.3.tgz","fileCount":16,"unpackedSize":14152,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDyupMe0fKIEMgjfMdHBdFLWQ8OW280EdFAPyeZEDZZFwIgbbwFB+JFulma5sdgl9277b66IauZI0Q9dBSsva2s+O0="}]},"_npmUser":{"name":"arvellon97","email":"stasseynsjonas97@gmail.com"},"directories":{},"maintainers":[{"name":"arvellon97","email":"stasseynsjonas97@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nn-storefront-ts_1.0.3_1713467462228_0.049659465146642656"},"_hasShrinkwrap":false}},"time":{"created":"2024-04-18T18:17:27.801Z","1.0.0":"2024-04-18T18:17:28.047Z","modified":"2024-04-18T19:11:02.605Z","1.0.1":"2024-04-18T18:30:22.828Z","1.0.2":"2024-04-18T18:35:57.163Z","1.0.3":"2024-04-18T19:11:02.393Z"},"maintainers":[{"name":"arvellon97","email":"stasseynsjonas97@gmail.com"}],"homepage":"https://github.com/Arvelon/nn-storefront-ts#readme","repository":{"type":"git","url":"git+https://github.com/Arvelon/nn-storefront-ts.git"},"author":{"name":"Jonas Stasseyns"},"bugs":{"url":"https://github.com/Arvelon/nn-storefront-ts/issues"},"license":"ISC","readme":"# New Narrative Storefront Module\n\n## Usage\n\n### Setup Cart (optionsal)\n\nFirst of all, you need to initialize the Cart object. This can be done easily by usint the `Cart.initialize()` method in a client side environment before using any cart functionality:\n\n```javascript\nimport Cart from \"@arvellon97/nn-storefront-ts/classes/Cart\";\n\nuseEffect(() => {\n  Cart.initialize();\n}, []);\n```\n\nIf you are not planning to use any cart functionality, you can skip this step. It can always be added later.\n\n### Fetching products\n\nTo fetch products or collections, the following methods are available:\n\n```javascript\ngetAllProducts()\ngetProductById(<shopify_product_id>)\ngetAllCollections()\ngetCollection(<shopify_collection_id>)\nremoveFromCart(<shopify_cart_line_id>)\n```\n","readmeFilename":"README.md","description":"## Usage"}