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

dm-ide

v1.2.8

Published

* @Author: leon_wu * @Date: 2022-03-08 * @Description: DM-IDE

Readme

  • @Author: leon_wu
  • @Date: 2022-03-08
  • @Description: DM-IDE

Background

This project DM-IDE aims to provide a local IDE for coding outside Digital Maker (DM) but compile inside DM, this IDE should have powerful debug functions and be compatible with GitLab CI/CD,nevertheless this IDE should be able to import/export popular components from modern developing framework such as VUE. The GUI and Folder structure of this IDE is based on DM Component repository.  

Setup Local Development Environment (Component Development)


Step 1. Clone this source code repository

git clone https://gitlab.dpg.asia.pwcinternal.com/dm-tools/dm-components.git

Step 2. Install node.js packages

npm install

Step 3. Run this application

npm run serve

By default, it will provide you the local web access via http://localhost:8080/
 

Source Folder Structure


Following is the highlighted folder structure for components development.

src/
├─ projects/
│  ├─ {ProjectName}/
│  │  ├─ assets/
│  │  ├─ constants/
│  │  ├─ scripts/
│  │  ├─ targets/
│  │  │  ├─ dm5/
│  │  │  │  ├─ combinations/
│  │  │  │  ├─ components/
│  │  │  │  ├─ scripts/
│  │  ├─ compRepo.project.settings.json
├─ compRepo.settings.json

As can be seen, all source code are stored inside 'src' folder as general practice. Under it, one folder 'projects' and one file 'compRepo.settings.json' can be found. The 'projects' folder hold all the components which grouped by projects, while the 'compRepo.settings.json' is the root entry point of component registration (it will be covered in next section).

The projects have their own folder inside 'projects' and the project name should be the folder name '{ProjectName}/'. For each project folder, it contains

  • assets (store media assets and stylesheets)
  • constants (common constants definition)
  • scripts (javascript that will be loaded by customized component)
  • targets (store the implementation of the customized components and grouped by Digital Maker version)

 

Component vs Combination


This component repository present the components in two different ways, namly component and combination. As the name implied, the component means to present the component soly to users, so that the user understand what the component includes and not included. In contrast, combination presents a group of closely related components together, and usually formed a cooperation relationship.

Take an example, one component is to provide search criteria selection while another provides the search result display list. To present them individually to users may not give the idea of what they really mean for. In this case, we can create a combination to put them into a group, thus the user can try by pressing the search button in one component, then read the search result immediately on the same rendering screen.
 

Component Registration


Components put inside the project folder will not be picked to display automatically. There is a registration step and only those registered components will be shown to users.

As briefly said in previous section, compRepo.settings.json is the entry point. Inside this file, the content is simple, it mainly describe what project folders are registered.

{
    "repositoryName": "Component Repository",
    "repositoryVersion": "0.0.1",
    "projectEntries": [
        "projects/InternalAudit/compRepo.project.settings.json"
    ]
}

The details settings are not directly put inside this file, but it should point to the projects that registered here. For example, we have a project called 'Internal Audit', its project specific 'compRepo.project.settings.json' file needed to be added to the 'projectEntries'. To add new project, we do the similar to put another line to 'projectEntries' as it supports multiple items.

'compRepo.project.settings.json' is the project specific setting to have the project related components and combinations registration. Please refer to the existing project setting as sample.