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

winnetoujs

v1.18.16

Published

The indie javascript constructor

Downloads

102

Readme

WinnetouJs

WinnetouJs is a javascript framework that encompasses multi solutions for creating web apps frontend.

Why?

WinnetouJs comes for developers who love pure, root, vanilla javascript, for those who like clean code, without mixing html and javascript that at a certain level are ineligible. It comes from developers to developers. It comes from those who loves javascript for those who also loves javascript. And, after all, it comes to those who don't feel obliged to use typescript and still looking for a robust solution.

How it works?

The basis of a Winnetou application are the constructos, which are html files where we write our html components - called "constructos" - and then wbr will transform them into javascript code ready for reuse, optimized for a modern and lightweight web.

How to use

import { h1 } from "./constructos/componentsTest.js";
h1({ text: "Welcome to your first WinnetouJs App" }).create("#app");

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

You will need nodejs and npm on your machine to develop a Winnetou application.

Installing

After you have the latest version of the node and npm properly installed, install winnetou from npm.

npm install --save-dev winnetoujs

If you are creating a new project and node_modules folder and wbr.js don't show up, run npm init -y and try again.

You can add WinnetouJs to an existing project.

To start a new project use winnetou's scaffolding with the command below:

node scaffolding

The node will create the basic skeleton of a WinnetouJs web application automatically. We warn you to start a winnetoujs project in an empty folder as this process can overwrite pre-existing files.

Now you will be ready to run the Winnetou engine, which will transpile your constructos, your sass and also create the bundles for production.

Running the tests

To test your installation, run wbr.

node wbr

This will compile your constructos and your sass. Now open the index.html file and everything should be working. WBR will also automatically initialize watchers in your code, so that any changes made to the html of the constructos are instantly available as a ready-to-use javascript class.

Deployment

The deployment of a Winnetou application is done through the webpack, but don't worry, the WBR is already equipped with everything you need, just run:

node wbr --bundleRelease

and your winnetouBundle.min.js will now be available for use.

I wanna dive in deep

Start with the documentation here.

Contributing

Pull requests are welcome

Authors

  • Pamela Sedrez - Initial work - GitHub

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details