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 🙏

© 2024 – Pkg Stats / Ryan Hefner

universal-box

v2.6.3

Published

Universal-box is a smart solution for scaffold generation, project initialization, and targeted repository cloning and many more.

Downloads

89

Readme

Universal-Box is a powerful tool designed to streamline your development process with a collection of starter templates and projects. It provides a fast and structured way to kickstart your development journey, allowing you to set up new projects with ease and efficiency.

Features

  • Starter Templates: Quickly scaffold new projects using a variety of pre-built templates.
  • Project Initialization: Simplify project setup with a single command.
  • Flexible Scaffolding: Easily configure and customize your project structure.
  • Linting Configuration: Automatically set up linting configurations for JavaScript (ESLint) and Python (Flake8) projects, enhancing code quality.
  • Project Generation: Generate project files based on user-defined configuration files (e.g., YAML).
  • Repository Cloning: Clone GitHub repositories or specific subdirectories directly into your project.
  • Deployment Pipeline: Trigger build and deployment processes (currently under development).

Installation

To install Universal-Box globally, run:

npm install -g universal-box

Once installed, you can initialize a new project with:

  • Checkout the available commands using universal-box --help

Usage

Here's a brief overview of the available commands:

https://github.com/user-attachments/assets/6e0e25e0-0ec4-4293-b555-9729ae7fb8d4

  • get: Clone a GitHub repository or a specific subdirectory from it.

https://github.com/user-attachments/assets/31f9ba03-e0b4-4e73-801e-d5e6928abf97

  • lint: Add the default linting configurations for your project. This command sets up ESLint for JavaScript projects and Flake8 for Python projects, along with an optional Prettier configuration for formatting.

https://github.com/user-attachments/assets/c47dbcdc-268b-4740-adfe-675233c264fb

  • generate <file.yml>: Generate project files based on a provided configuration file (e.g., YAML).

https://github.com/user-attachments/assets/7c3b9fa9-60b1-4aab-b1f6-465b79cac6d3

Here's some example YAML scripts for you to get started.

  • deploy: Trigger the build and deployment pipeline.
  • --help: Display the help message with command usage.

Examples

universal-box --help
universal-box init
universal-box lint
universal-box generate <file.yml>
universal-box deploy
universal-box get https://github.com/username/repo
universal-box get https://github.com/username/repo/tree/<path_to_sub-directory>

Documentation

For more details and advanced usage, visit the Universal-Box Documentation.

License

This project is licensed under the Apache-2.0 License. See the LICENSE file for details.

Copyright (c) 2024 Abhishek Mallick
LinkedIn