New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

dimic

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dimic

Node.js CLI to create pathmap index module from directory structure

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

dimic

Node.js CLI to create pathmap index module from directory structure.

From

|-src
  |-assets
    |- font
      |- aldrich.woff
    |- image
      |- player.png
      |- enemy.png

👇 To

// src/assets/index.js
import mod_0 from "./font/aldrich.woff";
import mod_1 from "./image/player.png";
import mod_2 from "./image/enemy.png";
export default {
  font: {
    aldrich: mod_0,
  },
  image: {
    player: mod_1,
    enemy: mod_2,
  },
};

Requirements

Node.js v10.10.0+

Install

npm install dimic -g

Usage

dimic --[options]

Test

npm run test

Keywords

cli

FAQs

Package last updated on 20 Mar 2021

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