{"id":13526716,"url":"https://github.com/flexdinesh/npm-module-boilerplate","last_synced_at":"2025-04-04T20:03:34.139Z","repository":{"id":57172524,"uuid":"118307301","full_name":"flexdinesh/npm-module-boilerplate","owner":"flexdinesh","description":"Boilerplate for npm modules with ES6 features and all the best practices","archived":false,"fork":false,"pushed_at":"2022-01-09T23:00:16.000Z","size":14,"stargazers_count":390,"open_issues_count":4,"forks_count":100,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-22T06:04:03.013Z","etag":null,"topics":["boilerplate","es6","npm-package","npm-publish"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flexdinesh.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}},"created_at":"2018-01-21T05:28:33.000Z","updated_at":"2025-03-03T06:48:59.000Z","dependencies_parsed_at":"2022-08-24T13:30:57.196Z","dependency_job_id":null,"html_url":"https://github.com/flexdinesh/npm-module-boilerplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flexdinesh%2Fnpm-module-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flexdinesh%2Fnpm-module-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flexdinesh%2Fnpm-module-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flexdinesh%2Fnpm-module-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flexdinesh","download_url":"https://codeload.github.com/flexdinesh/npm-module-boilerplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246735220,"owners_count":20825217,"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":["boilerplate","es6","npm-package","npm-publish"],"created_at":"2024-08-01T06:01:33.635Z","updated_at":"2025-04-04T20:03:34.113Z","avatar_url":"https://github.com/flexdinesh.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# NPM Module Boilerplate\n\n[![Build Status](https://travis-ci.org/flexdinesh/npm-module-boilerplate.svg?branch=master)](https://travis-ci.org/flexdinesh/npm-module-boilerplate) [![dependencies Status](https://david-dm.org/flexdinesh/npm-module-boilerplate/status.svg)](https://david-dm.org/flexdinesh/npm-module-boilerplate) [![devDependencies Status](https://david-dm.org/flexdinesh/npm-module-boilerplate/dev-status.svg)](https://david-dm.org/flexdinesh/npm-module-boilerplate?type=dev) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\n## NOTE: This setup is pretty old and outdated for 2022. I need to update it to use [Microbundle](https://github.com/developit/microbundle). In the meanwhile, do yourself a favour and setup your lib with Microbundle directly (it's pretty simple and straightforward) instead of using the boilerplate code.  \n\n\n**Start developing your NPM module in seconds** ✨\n\nReadymade boilerplate setup with all the best practices to kick start your npm/node module development.\n\nHappy hacking =)\n\n# Features\n\n* **ES6/ESNext** - Write _ES6_ code and _Babel_ will transpile it to ES5 for backwards compatibility\n* **Test** - _Mocha_ with _Istanbul_ coverage\n* **Lint** - Preconfigured _ESlint_ with _Airbnb_ config\n* **CI** - _TravisCI_ configuration setup\n* **Minify** - Built code will be minified for performance\n\n# Commands\n- `npm run clean` - Remove `lib/` directory\n- `npm test` - Run tests with linting and coverage results.\n- `npm test:only` - Run tests without linting or coverage.\n- `npm test:watch` - You can even re-run tests on file changes!\n- `npm test:prod` - Run tests with minified code.\n- `npm run test:examples` - Test written examples on pure JS for better understanding module usage.\n- `npm run lint` - Run ESlint with airbnb-config\n- `npm run cover` - Get coverage report for your code.\n- `npm run build` - Babel will transpile ES6 =\u003e ES5 and minify the code.\n- `npm run prepublish` - Hook for npm. Do all the checks before publishing your module.\n\n# Installation\nJust clone this repo and remove `.git` folder.\n\n\n# License\n\nMIT © Dinesh Pandiyan\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflexdinesh%2Fnpm-module-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflexdinesh%2Fnpm-module-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflexdinesh%2Fnpm-module-boilerplate/lists"}