🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis β†’
Socket
Book a DemoInstallSign in
Socket

create-ima-app

Package Overview
Dependencies
Maintainers
1
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-ima-app

Create a IMA.js App easily.

latest
Source
npmnpm
Version
20.0.0
Version published
Weekly downloads
187
-64.78%
Maintainers
1
Weekly downloads
Β 
Created
Source

Create IMA.js App

Create IMA.js applications easily with simple command.

Documentation

We have prepared a complex tutorial for you: Your first IMA.js application. This tutorial covers the basics of creating isomorphic web applications using IMA.js, but you will encounter some more advanced concepts in there as well.

For a more in-depth information about the IMA.js see a full documentation and more on imajs.io.

Quickstart

npx create-ima-app my-app
cd my-app
npm run dev

npx comes with npm 5.2+ and higher. For earlier versions simply install create-ima-app globally and continue as before.

npm install -g create-ima-app my-app
create-ima-app my-app

Then open http://localhost:3001/ to see your application. When you're ready to deploy your application, run npm run build to create production-ready minified bundle in build/ directory.

Getting started

Node >= 8 is required for the installation. You can use nvm to easily manage your local node version. To create new app you can choose one of the following methods based on your preferences.

npm

npm init ima-app my-app

npx

npx create-ima-app my-app

yarn

yarn create ima-app my-app

This will install all needed dependencies and create following directory structure inside ./my-app directory.

my-app
β”œβ”€β”€ LICENSE
β”œβ”€β”€ README.md
β”œβ”€β”€ app
β”‚Β Β  β”œβ”€β”€ assets
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ less
β”‚Β Β  β”‚Β Β  └── static
β”‚Β Β  β”œβ”€β”€ build.js
β”‚Β Β  β”œβ”€β”€ component
β”‚Β Β  β”‚Β Β  └── document
β”‚Β Β  β”œβ”€β”€ config
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ bind.js
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ routes.js
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ services.js
β”‚Β Β  β”‚Β Β  └── settings.js
β”‚Β Β  β”œβ”€β”€ environment.js
β”‚Β Β  β”œβ”€β”€ main.js
β”‚Β Β  └── page
β”‚Β Β      β”œβ”€β”€ AbstractPageController.js
β”‚Β Β      β”œβ”€β”€ error
β”‚Β Β      β”œβ”€β”€ home
β”‚Β Β      └── notFound
β”œβ”€β”€ gulpConfig.js
β”œβ”€β”€ gulpfile.js
β”œβ”€β”€ jest.config.json
β”œβ”€β”€ jest.setup.js
β”œβ”€β”€ package-lock.json
β”œβ”€β”€ package.json
└── server
    └── server.js

Available commands

Once you've created your new IMA.js project, following commands become available to you through npm.

npm run dev

To start development server on http://localhost:3001/. This will also start gulp tasks in watch mode, so any changes you make to the source code are automatically re-builded.

npm run test

To start jest test runners.

npm run lint

To run eslint on your application source files. We've prepared pre-configured .eslintrc.js file which follows our IMA.js coding styles, but feel free to adjust this to your needs.

npm run build

To build your application.

npm run start

To start IMA.js server.

Why use this?

Developing IMA.js application is fairly easy, but the initial setup process can be quite tiresome. This tool aims to streamline this process, save your time and provide you with buildable application with opinionated defaults that can be easily customized to your needs.

Keywords

IMA.js

FAQs

Package last updated on 24 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts