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

nailsts

v1.0.1

Published

The TS Library in the NailsFramework toolset

Downloads

4

Readme

Build Status

NailsFramework

NailsFramework or short NailsJS is a new Javascript library.

I'm proud to announce that NailsJS enters the first stable state. You can safely use it. Please take a look at our branches to see, what version best suits you

To see whats possible, take a look into the index.html.

Why should i use NailsTS?

Nails has been created out of one reason. Frustration. Mostly every JS Framework doesn't really scale down for small size project, instead they are horribly slow and space intensive. I don't want to use 300MB disk space for a hello world program just because those nasty dependencies.

And exactly here comes nailsJS into place. It just nails it for small size projects but also perfectly scales up to enterprise solutions, although it's still in development. The Codebase is about 50KB and thats all. No dependencies, nothing. It just works.

Also there is no learning curve, because to create a wonderful, reactive WebApp you don't need to learn some complicated stuff. NailsJS is designed to be intuitive and easy.

Thats it.

Features

  • Reusable Components
  • Dependency Injection
  • Reactive DOM. Change values in the console and see the magic happen.
  • String interpolation
  • Directives
  • Intelligent DOM Rendering, does not re-render whole DOM but only the parts, which have changed. This improves stability and performance.
  • Build from Ground up for Reactivity. No setState or other method calls required

Installation

Please refer to the documentation in the wiki pages.

Branches

| Branch | What to expect | | ------------- |:-------------: | | master | The most stable version| | develop | Not really unstable, but bugs may occur. | | feature/* | For your own safety, and for the safety of your project, don't touch any of these. |

Development

Want to contribute? Great!

To create new directives simply add your function definition in directiveDefinitions.js and make sure that you added your definition in the directives array as well.

Do not prefix your function and your array entry with an n, as this is done by the NailsJS Library.

Below is a sample function body.

sample(element, statement, state){

}

element: The HTML element, which has added your directive. statement: The code in the directive. For example, if the directive declaration on the element is n-if="formIsActive" then statement would be formIsActive state: This is the current state, which represents NailsJS. To access user Data, you need to query state.data. Do not store Data outside of this object, as it's not actively monitored and a change in this data will not result in any DOM changes.

License

MIT

Free Software, Hell Yeah!

  • Author: Dominic Järmann