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

@achtjs/cli

v0.2.0

Published

achtJS CLI is an interface to help you to setup on an easy way a AchtJS Sample.

Downloads

28

Readme

@achtjs/cli

The AchtJS CLI is a command line interface for AchtJS. Its primary purpose is to assist developers with building AchtJS projects. AchtJS CLI allows you to generate and serving AchtJS project as well as generate AchtJS files (e.g. controllers, services and models).

Table of Contents

Installation

In order to start using AchtJS CLI you need to install it globally.

npm install -g @achtjs/cli

NEW

new | n

Create a new AchtJS project. This will generate all the basic files and install all the necessary dependencies for your AchtJS Project.

Usage

acht new my-new-app or acht n my-new-app

GENERATE

generate | g

This will help you generate components inside your AchtJS project. You can generate controllers, sevices and models using this command.

Usage

ROUTES

acht generate route sample or acht g r sample

CONTROLLER

acht generate controller sample or acht g c sample

SERVICE

acht generate service sample or acht g s sample

MODEL

acht generate model sample or acht g m sample

SERVE

serve | s [options]

This will run your AchtJS project which listens on port 3333 by default. In case where port 3333 is already in use or you want to run it on a different port number, use --port to specify a different port.

Usage

DEFAULT

acht serve or acht s

CHANGE PORT

acht serve --port 4444 or acht s -p 4444

BUILD

build | b

This will build your AchtJS project to javascript that you can deploy to your prefered cloud hosting. The output files will be inside the dist folder.

Usage

DEFAULT

acht build or acht b