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 🙏

© 2025 – Pkg Stats / Ryan Hefner

ddd-scaffold

v1.5.11

Published

All things you'll need to setup a DDD project.

Downloads

69

Readme

RDDD Framwork

This project includes all the required interfaces and abstract classes to build a fully structured DDD project.

This is lacking of some features that will be added as the main project progresses.

It is needless to mention that everything is built-in is written in and for a typescript project.

Summary

  1. Core Elements
  2. Documentation
  3. Tools & Utilities
  4. Expected Errors Library

Installing

Using npm:

$ npm install ddd-scaffold 

Using yarn:

$ yarn add ddd-scaffold 

Core Elements

  • It includes an interface for building Entities
  • It includes an interface for building ValueObjects
  • It includes a full library for expected errors called ErrorOperations.

Documentation

The project includes a documentation at /docs/, open it at your favourite browser and read it to know where to start.

Tools & Utilities

  1. Guard This includes some tools to pre-validate arguments for the different factories you'll build across the Entities and ValueObjects.

  2. ObjectUtilies Is created to parse strings to object/primitives when using those at DTOs or similar.

  3. Enum Basically a tool with different tools to work with typescript enums

  4. Finally and not less important, a logger built with winston, for a basic integration for it. You should modify that file for bigger approaches or just write everything again with the desired elements in it.

Expected Errors Lib.

The project includes different methods that will help you to handle error that requires a message or a return. Expected error can be traduced to something like: "Missing Item"

You should firstly should read the documentation.

  • GResponse Built for GRPC responses.
  • AResponse Built for HTTP responses.
  • Result Built general proposed that just need a message.

OperationResult, is just for the abstract factory builder.

Notes

  • This project is not finished.
  • Examples will be added in the future, tho you should read more about DDD.