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!
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 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
Top comments (0)