Code Monkey home page Code Monkey logo

modular-js-helper's Introduction

modular-js-helper

Atom plugin for easily import-ing or require-ing your modules. We want this plugin to be the most helpful, most robust, and most complete modular JS(and TS) helper.

Module types:

  • CommonJS require
  • ESM import
  • AMD define

It searches:

  • files in each project
  • node_modules
  • package.jsondependencies & devDependencies

./img/readme-settings.png

./img/readme-keybindings.png

Table of Contents

Crowdfund

Thank you for contributing your time or money to help this plugin. Funds will go directly to contributors that are answering questions, writing code, or to fund bounties.

Contact @tcrowe until we setup payment options as a community.

Why? Aren't there other plugins that do this already?

Yes, but they don't work or they aren't really that helpful. You have to be able to search all the known files and modules. Once you've cataloged the files you then need to intelligently add the snippet into the code.

This plugin searches in many different places and allows you to configure the way it searches. The configuration allows you to choose import, require, or even define from AMD modules.

These are the others which are for specific use cases, incomplete, not working, or out-of-date.

require-ing

import-ing

Development

Atom plugins can be difficult to develop so lets go over how to develop on this and power it up to be the best plugin.

Configuration

See ./package.json#configSchema

It's a JSON Schema object.

Atom Config object

Scripts

# analyze code during development
npm run dev

# before commit, run production script, format docs
npm run prd

npm run prd will format the readme with remark and run tests with mocha.

Copying, license, and contributing

Copyright (C) Tony Crowe 2020 https://tcrowe.github.io/contact/

Thank you for using and contributing to make modular-js-helper better.

⚠️ Please run npm run prd before submitting a patch.

⚖️ modular-js-helper is Free Software protected by the GPL 3.0 license. See ./COPYING for more information. (free as in freedom)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.