Developing My Own Node CLI Tool! And YOU can Contribute

I made a CLI Tool and You Can contribute!

Basically I’m really excited about writing packages. I just created this small tool called bring-me! This basic cli tool just brings you libraries to your current working directory directly from its …


This content originally appeared on DEV Community and was authored by The Unfactoring Guru

I made a CLI Tool and You Can contribute!

Basically I'm really excited about writing packages. I just created this small tool called bring-me! This basic cli tool just brings you libraries to your current working directory directly from its cdn! You can also add libraries to the repertoir of libraries you have saved for downloading later!
Examples:

bring-me lib jquery -d /public/js you will have jquery already integrated in your project!

GitHub logo devasolutions / bring-me

NPM CLI tool for delivering common front-end libraries, frameworks, stylesheets, etc. for lightweight and easy development without needing them stored in node_modules or when internet connection could be a problem in the future.

bring-me

npm (scoped) npm

NPM CLI tool for delivering common front-end libraries, frameworks, stylesheets, etc. for lightweight and easy development without needing them stored in node_modules or when internet connection could be a problem in the future.

Install

Install globally with NPM npm install -g @devasolutions/bring-me

Or install in development npm install --save-dev @devasolutions/bring-me

Introduction

Bring-me is a CLI tool used to download popular frameworks from there CDNs so that you can use them offline when needed in mostly Front-End Development scenerios

Summary:

Bring-me scans a bmconfig.json file inside the module's directory to get the most popular frameworks and libraries (bootstrap,bulma,jquery,lodash,phaser at the moment).

bmconfig.json example:

[
  {
    "url": "https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.js",
    "file-name": "jquery.js",
    "lib-name": "jquery",
    "format": "js",
    "version": "3.6.0"
  },
  ...
]

bmconfig.json fields:

url: (contains the url of the library from cdn) file-name: (the…

I need people to help with creating more basic commands, fefactoring, and improving documentation. So anybody is welcome to participate!

  • Regards
  • The unfactoring guru


This content originally appeared on DEV Community and was authored by The Unfactoring Guru


Print Share Comment Cite Upload Translate Updates
APA

The Unfactoring Guru | Sciencx (2021-11-20T07:51:41+00:00) Developing My Own Node CLI Tool! And YOU can Contribute. Retrieved from https://www.scien.cx/2021/11/20/developing-my-own-node-cli-tool-and-you-can-contribute/

MLA
" » Developing My Own Node CLI Tool! And YOU can Contribute." The Unfactoring Guru | Sciencx - Saturday November 20, 2021, https://www.scien.cx/2021/11/20/developing-my-own-node-cli-tool-and-you-can-contribute/
HARVARD
The Unfactoring Guru | Sciencx Saturday November 20, 2021 » Developing My Own Node CLI Tool! And YOU can Contribute., viewed ,<https://www.scien.cx/2021/11/20/developing-my-own-node-cli-tool-and-you-can-contribute/>
VANCOUVER
The Unfactoring Guru | Sciencx - » Developing My Own Node CLI Tool! And YOU can Contribute. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/11/20/developing-my-own-node-cli-tool-and-you-can-contribute/
CHICAGO
" » Developing My Own Node CLI Tool! And YOU can Contribute." The Unfactoring Guru | Sciencx - Accessed . https://www.scien.cx/2021/11/20/developing-my-own-node-cli-tool-and-you-can-contribute/
IEEE
" » Developing My Own Node CLI Tool! And YOU can Contribute." The Unfactoring Guru | Sciencx [Online]. Available: https://www.scien.cx/2021/11/20/developing-my-own-node-cli-tool-and-you-can-contribute/. [Accessed: ]
rf:citation
» Developing My Own Node CLI Tool! And YOU can Contribute | The Unfactoring Guru | Sciencx | https://www.scien.cx/2021/11/20/developing-my-own-node-cli-tool-and-you-can-contribute/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.