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 🙏

© 2026 – Pkg Stats / Ryan Hefner

migrar

v3.8.8

Published

Migration tool for software projects

Readme

migrar

Migration tool for software projects

Version Downloads/week License

You can move folders and components depending of what you need. Check the Command description for instructions.

Usage

$ npm install -g migrar
$ migrar COMMAND
running command...
$ migrar (-v|--version|version)
migrar/3.8.8 darwin-x64 node-v16.13.1
$ migrar --help [COMMAND]
USAGE
  $ migrar COMMAND
...

Commands

migrar controller TO

Fix javascript file

USAGE
  $ migrar controller TO

ARGUMENTS
  TO  Controller path to fix

DESCRIPTION
  use the absolute path to the file

See code: src/commands/controller.js

migrar extensions FROM TO

Move whole extensions folder from one project to another

USAGE
  $ migrar extensions FROM TO

ARGUMENTS
  FROM  Base project path
  TO    Destination project path

OPTIONS
  -p, --epath=epath  [default: mvcextensions] MVC Extensions relative path

See code: src/commands/extensions.js

migrar fix TO NAME

Fix an app component. Use -t to specify the type of component

USAGE
  $ migrar fix TO NAME

ARGUMENTS
  TO    Destination project workspace path
  NAME  Form Name

OPTIONS
  -c, --cpath=cpath                  [default: controllers] Controllers library path
  -e, --epath=epath                  [default: modules/require] Controllers extension path
  -f, --fpath=fpath                  (required) [default: forms] Forms path
  -h, --channel=channel              [default: mobile] Platform channel
  -l, --ctrl=ctrl                    [default: Controller] Controllers suffix
  -m, --module=module                [default: AuthModule] Module name
  -o, --apath=apath                  (required) [default: studioactions] Studio Actions path
  -s, --suffix=suffix                [default: BB] Project suffix identifier
  -t, --type=controller|action|form  [default: form] Component type to fix

DESCRIPTION
  Type can be:
  - action
  - form
  - controller

See code: src/commands/fix.js

migrar form FROM TO NAME

Move a form from old source and paste it in the new workspace as extension

USAGE
  $ migrar form FROM TO NAME

ARGUMENTS
  FROM  Base project workspace path
  TO    Destination project workspace path
  NAME  Form Name

OPTIONS
  -a, --actions=actions  [default: Actions] Actions suffix
  -c, --cpath=cpath      [default: controllers] Forms library path
  -e, --epath=epath      [default: modules/require] Controllers extension path
  -f, --fpath=fpath      [default: forms] Forms library path
  -g, --mconfig=mconfig  [default: Config/ModuleConfig.json] Module config relative path
  -h, --channel=channel  [default: mobile] Platform channel
  -l, --ctrl=ctrl        [default: Controller] Controllers suffix
  -m, --mname=mname      (required) Module name
  -o, --opath=opath      (required) [default: ~/Visualizer/] Old project workspace path
  -p, --mpath=mpath      [default: mvcextensions] MVC Extensions path
  -r, --format=format    [default: .sm] Folder format suffix
  -s, --suffix=suffix    [default: BB] Project suffix identifier
  -x, --xform            Fix migrated form

DESCRIPTION
  ...
  Please make sure the destination workspace is in a clean git state

See code: src/commands/form.js

migrar help [COMMAND]

display help for migrar

USAGE
  $ migrar help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

migrar many FROM TO FORMS

Describe the command here

USAGE
  $ migrar many FROM TO FORMS

ARGUMENTS
  FROM   Base project workspace path
  TO     Destination project workspace path
  FORMS  file with forms data [{"name": "formName", "module": "ModuleName"}, ...]

OPTIONS
  -o, --opath=opath  (required) Old project workspace path

DESCRIPTION
  ...
  Extra documentation goes here

See code: src/commands/many.js

migrar modules FROM TO

Move whole modules folder from one project to another

USAGE
  $ migrar modules FROM TO

ARGUMENTS
  FROM  Base project path
  TO    Destination project path

OPTIONS
  -p, --mpath=mpath  [default: modules] Modules relative path

See code: src/commands/modules.js

migrar property FROM TO

Move actions defined in project properties file

USAGE
  $ migrar property FROM TO

ARGUMENTS
  FROM  Old project workspace path
  TO    Destination project workspace path

OPTIONS
  -f, --fileName=fileName  [default: projectProperties.json] Application Property file name
  -h, --channel=channel    [default: mobile] Platform channel
  -n, --property=property  [default: ide_appEvents] Application Property name to migrate
  -p, --apath=apath        [default: studioactions] Studio Actions path
  -r, --format=format      [default: .json] Files format suffix

See code: src/commands/property.js