{"id":24967267,"url":"https://github.com/anvk/babel-npm-module-example","last_synced_at":"2025-10-19T04:51:01.791Z","repository":{"id":31715841,"uuid":"35281645","full_name":"anvk/babel-npm-module-example","owner":"anvk","description":"A boilerplate to start writing your NPM modules in ES6 using Babel.","archived":false,"fork":false,"pushed_at":"2019-12-02T20:28:59.000Z","size":22,"stargazers_count":36,"open_issues_count":0,"forks_count":15,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T02:14:11.612Z","etag":null,"topics":["babel","boilerplate","example","module","nodejs","npm-module"],"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/anvk.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":"2015-05-08T13:44:44.000Z","updated_at":"2023-04-24T18:14:45.000Z","dependencies_parsed_at":"2022-07-22T04:31:57.619Z","dependency_job_id":null,"html_url":"https://github.com/anvk/babel-npm-module-example","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anvk%2Fbabel-npm-module-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anvk%2Fbabel-npm-module-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anvk%2Fbabel-npm-module-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anvk%2Fbabel-npm-module-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anvk","download_url":"https://codeload.github.com/anvk/babel-npm-module-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248328163,"owners_count":21085261,"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":["babel","boilerplate","example","module","nodejs","npm-module"],"created_at":"2025-02-03T12:39:36.297Z","updated_at":"2025-10-19T04:50:56.737Z","avatar_url":"https://github.com/anvk.png","language":"JavaScript","readme":"# babel-npm-module-example [![Build Status](https://travis-ci.org/anvk/babel-npm-module-example.svg?branch=master)](https://travis-ci.org/anvk/babel-npm-module-example)\n\n\u003e A boilerplate to start writing your NPM modules in ES6 using Babel.\n\n## Install\n\n```\n$ npm install babel-npm-module-example --save\n```\n\n## How to use\n\nOpen sourcecode, take a look and start coding...\nhttps://github.com/anvk/babel-npm-module-example\n\n## GULP or NPM commands?\n\nCurrently you can build this project either by running a gulp command or npm build command.\n\n### NPM commands\n\nIf you want to build a basic JS module and do not require to run any extra advanced tasks during build you can use [npm-commands](https://github.com/anvk/babel-npm-module-example/tree/npm-commands) branch. Or you can remove `gulpfile.babel.js` file and remove the following npm modules from the project:\n\n - babel-core\n - gulp\n - gulp-babel\n - gulp-eslint\n - gulp-mocha\n - gulp-rimraf\n - run-sequence\n\n#### Using NPM commands\n\n```\n$ npm run build\n```\n\n```\n$ npm test\n```\n\n### GULP\n\nFor those who needs to run extra scripts and do other complicated tasks upon builds you can use [gulp-commands](https://github.com/anvk/babel-npm-module-example/tree/gulp-commands) branch. Or clean `scripts` object in `package.json` as well as remove the following npm modules from the project:\n\n - rimraf\n - babel-cli\n\n#### Using GULP command\n\n```\n$ node_modules/gulp/bin/gulp.js\n```\n\n## Linting?\n\nI'm using [eslint-config-airbnb](https://www.npmjs.com/package/eslint-config-airbnb) for this project with my few custom modifications. You can read more on the [Airbnb JavaScript Style Guide here](https://github.com/airbnb/javascript)\n\n## Important!\n\nI commented out `dist/` and `test-dist` folders in my ignore file on purpose to demonstrate how built files will look like. In a real project, most likely, you do not want to push those `dist folders` to your repo. If you do, you will constantly see changes in dist folders during your merges/code reviews which can be very annoying.\n\n## License\n\nMIT license; see [LICENSE](./LICENSE).\n\n(c) 2016 by Alexey Novak\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanvk%2Fbabel-npm-module-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanvk%2Fbabel-npm-module-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanvk%2Fbabel-npm-module-example/lists"}