{"id":19312124,"url":"https://github.com/bigcommerce/stencil-utils","last_synced_at":"2025-04-04T07:05:05.365Z","repository":{"id":29726788,"uuid":"33270004","full_name":"bigcommerce/stencil-utils","owner":"bigcommerce","description":"Utility library for the Stencil theme framework.","archived":false,"fork":false,"pushed_at":"2025-03-11T12:33:58.000Z","size":889,"stargazers_count":31,"open_issues_count":22,"forks_count":44,"subscribers_count":78,"default_branch":"master","last_synced_at":"2025-03-28T06:07:01.304Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-4-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bigcommerce.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-04-01T20:10:21.000Z","updated_at":"2024-12-17T17:06:33.000Z","dependencies_parsed_at":"2024-06-18T16:54:32.723Z","dependency_job_id":"141dbf1f-83a9-4c34-8436-7af419f98dcc","html_url":"https://github.com/bigcommerce/stencil-utils","commit_stats":{"total_commits":185,"total_committers":28,"mean_commits":6.607142857142857,"dds":0.854054054054054,"last_synced_commit":"7965ea3694dc199d2502f6d31349973a3329cbf9"},"previous_names":[],"tags_count":63,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigcommerce%2Fstencil-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigcommerce%2Fstencil-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigcommerce%2Fstencil-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigcommerce%2Fstencil-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bigcommerce","download_url":"https://codeload.github.com/bigcommerce/stencil-utils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247135141,"owners_count":20889420,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T00:32:56.391Z","updated_at":"2025-04-04T07:05:05.347Z","avatar_url":"https://github.com/bigcommerce.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stencil Utils\n\n[![Build Status](https://travis-ci.org/bigcommerce/stencil-utils.svg?branch=master)](https://travis-ci.org/bigcommerce/stencil-utils) [![npm (scoped)](https://img.shields.io/npm/v/@bigcommerce/stencil-utils.svg)](https://www.npmjs.com/package/@bigcommerce/stencil-utils)\n\nStencil utils is a utility library that contains the BigCommerce Stencil Events system and other tools that will help and enhance the\nexperience of building a theme with the Stencil framework.\n\n## Documentation\n\nhttps://developer.bigcommerce.com/stencil-docs/adding-event-hooks-to-your-theme/stencil-utils-api-reference\n\n### Getting Started\n\nStencil Utils is written in ES6 and is currently transpiled to ES5 with babel for running client side within browsers.\nStencil utils can either be imported to your theme as a module, or included as a standalone script.\n\n### Installing Stencil Utils on your theme\n\n#### As an ES6 module\n\n* Run `npm install @bigcommerce/stencil-utils` to install the latest tagged version of stencil-utils for use with your theme.\n* Import the library `import utils from 'bigcommerce/stencil-utils';` in modules that depend on it.\n\n#### Using standalone\n\nIf you do not want to support es6 modules, Stencil Utils can be included as a normal script:\n\n* Copy the bundled script from `dist/stencil-utils.min.js` to your theme.\n* Include the script in your HTML document\n* Access stencil utils from `window.stencilUtils`.\n\nNow you are playing with power!\n\n#### Testing\n\nJust simply run `npm run test`\n\n#### License\n\nCopyright (c) 2015-present, BigCommerce Inc.\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright\n   notice, this list of conditions and the following disclaimer.\n2. Redistributions in binary form must reproduce the above copyright\n   notice, this list of conditions and the following disclaimer in the\n   documentation and/or other materials provided with the distribution.\n3. All advertising materials mentioning features or use of this software\n   must display the following acknowledgement:\n   This product includes software developed by Bigcommerce Inc.\n4. Neither the name of Bigcommerce Inc. nor the\n   names of its contributors may be used to endorse or promote products\n   derived from this software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY BIGCOMMERCE INC ''AS IS'' AND ANY\nEXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL BIGCOMMERCE INC BE LIABLE FOR ANY\nDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\nON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigcommerce%2Fstencil-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbigcommerce%2Fstencil-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigcommerce%2Fstencil-utils/lists"}