npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

imx-atomic-cli

v2.0.1

Published

Command Line Operations for imx AtomicDummy

Downloads

12

Readme

imx-atomic-cli

Command line interface to assist development of atomicDummy projects

Installing

Install the cli global to gain access to it accros all dummy projects:

$ npm install imx-atomic-cli -g

How to use

Currently there are two operations available:

addComp - this will add a brand new component to your project

use this command pattern:

imx-atomic-cli addComp <target>

the target parameter consists of the type and the name of the new to create component. Type and name are separated using an //

an example could look like this

imx-atomic-cli addComp a//button

this will create a new atom named button

There is the short alias aC available for this operation

imx-atomic-cli aC <target>

copyComp - create a copy of an existing component while renaming it

use this command pattern:

imx-atomic-cli copyComp <source> <target>

Both, the source and the target parameter consist of a type and a name which have to be separated using an // The source parameter will be the existing component you whish to copy. The target parameter will be the new component that will be created.

an example could look like this

imx-atomic-cli copyComp a//button m//newButton

this will create a new molecule named newButton using a copy of the existing atom named button

There is the short alias cC available for this operation

imx-atomic-cli cC <source> <target>

complex structures - since 2.0.0

it is also possible to copy to and from structures, located in your _structures folder for this you can add the structure name to your target. The name of the structure and your component is separated using an / an example could look like this

imx-atomic-cli copyComp a//button m//myStructure/newButton

This way the new component will be created inside the structure "myStructure". This works both ways, also you can create new components via "addComp" inside structures.

Component types

The atomicDummy framework knows 4 TPL Component Types that you want to address:

  • Atoms - use a
  • Molecules - use m
  • Nucleus - use n
  • Organisms - use o

Authors

  • Axel Güldner@infomax