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

axthe

v0.9.1

Published

AXthe is an opinionated JAMstack based tech stack for high productivity web app development

Downloads

16

Readme

Docs

  • http://docs.AXthe.net

AXthe is an opinionated JAMstack based tech stack for high productivity web app development.

Please star our repo

  • http://github.com/axthe/axthe

Support and Forum

  • http://github.com/axthe/axthe/discussions

Prerequisite

Prerequisite knowledge ahead of AXthe tech stack is this book (or a similar book) - 'HTML and CSS: Design and Build web sites by Jon Duckett'

Overview

AXthe tech stack (and 'best' practices for high productivity web app) offer more than one development style, and allows you to combine them:

  1. A classic full stack development(based on JAMstack), with 11ty build and Micro frontends(similar to microservices) with native web components, that is compatible with Cordova cross platform development for Mobile(iOS and Android) from a single code base. It uses caddyserver for static, and js for API.
  2. In addition to using for API, you can also server dynamically generated pug pages, and combine them via Caddyfile matcher. AXthe curates a minimum viable tech stack as: 11ty, FicusJS, CaddyServer, Pug, Bootstrap, , Supabase, Cordova. Other parts of the tech stack:
  • For a modern http server we use Caddy instead of Apache or NGINX, as it is much easier to use, we show you how to set it up behind a DNS for auto-https. All the apps are normally behind Caddy or behind a CDN.
  • For IDE we use a cloud based IDE: http://codeanywhere.com IDE (not their containers, you can use http://vultr.com for your host, others are listed in the setup section) or VS Code w/ the SSH plugin ( as described in the setup section)
  • For DB we use Supabase, an enhanced hosting service for PostgreSQL.
  • While micro front architecture can leverage most .js libraries(eg Svelte, Vue, React ), we use FicusJS ( http://docs.ficusjs.org )

For the impatient

If you are already familiar with AXthe, you can download a starter app/kit, that includes the Caddyfile to setup the http server and includes both environments:

  • For latest: http://github.com/axthe/axthe and click Code/Download ZIP), or use wget from shell to download the file. wget https://github.com/axthe/axthe/archive/refs/heads/main.zip asciicast In root of the extracted files run caddy, in folder rename file _env to .env. Running dev.sh should start your appi app; last in caddy run rdev.sh.

Directory structure

Pug is templating you already know how to use, it is html markup tags that are self closing! It is a fine alternative to PHP. Check out pug: http://html2pug.vercel.app. Pug is similar to Haml or Slim, if you have not used it yet, you'll love it. Like you use scss files to generate css (with tools like PrePros.io) AXthe has a convention of always(with some exceptions) naming files as index.pug. That means if you have 3 pages in your web app, you need 3 folders, you would do this in the caddy folder and build via 11ty.

   - ./src/lading/A/index.pug
   - ./src/lading/B/index.pug
   - ./src/lading/C/index.pug

Above convention create 3 landing pages alternatives (suitable for testing of marketing variations):

   - http://localhost/lading/a
   - http://localhost/lading/b
   - http://localhost/lading/c

A more concepts:

  • AXthe aims to be the most productive way to build any web app, including mobile or CMS web apps. Specifically it aims to be better than the old productivity leader, LAMP, or even 'low code' tools. It make development fun, and productivity is fast, so that you can build rapid prototypes.
  • AXthe tech stack approach is to eschew client side .js, and rely heavily on . ( I really like the word eschew). The server side route in .js intercepts the http request and passes any dynamic data to pug. That is 90% of AXthe. In addition to productivity, AXthe is better at SEO and security.
  • AXthe is a designer friendly tech stack, so it is not just for front end and full stack developers. Even civilians, people not trained in software development can write professional grade web apps.
  • AXthe stack also has AXthe npm module that has a few helper classes