@nailsframework/nails
The Typescript Library
Last updated 4 months ago by dominc121219 .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @nailsframework/nails 
SYNC missed versions from official npm registry.

Build Status codecov

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. We try our best to keep the amount of dependencies down to a minimum. All dependencies we use are used to provide a solid runtime.

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

NailsTS 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

  • Components run in their own context

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: HTMLElement, statement: String, state: 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

Current Tags

  • 1.2.1                                ...           latest (4 months ago)

214 Versions

  • 1.2.1                                ...           4 months ago
  • 1.2.0                                ...           6 months ago
  • 1.1.173                                ...           6 months ago
  • 1.1.172                                ...           6 months ago
  • 1.1.171                                ...           6 months ago
  • 1.1.170                                ...           6 months ago
  • 1.1.169                                ...           6 months ago
  • 1.1.168                                ...           6 months ago
  • 1.1.167                                ...           6 months ago
  • 1.1.166                                ...           6 months ago
  • 1.1.165                                ...           6 months ago
  • 1.1.164                                ...           6 months ago
  • 1.1.163                                ...           6 months ago
  • 1.1.162                                ...           6 months ago
  • 1.1.161                                ...           6 months ago
  • 1.1.160                                ...           6 months ago
  • 1.1.159                                ...           6 months ago
  • 1.1.158                                ...           6 months ago
  • 1.1.157                                ...           6 months ago
  • 1.1.156                                ...           6 months ago
  • 1.1.155                                ...           6 months ago
  • 1.1.154                                ...           6 months ago
  • 1.1.151                                ...           6 months ago
  • 1.1.150                                ...           6 months ago
  • 1.1.149                                ...           6 months ago
  • 1.1.148                                ...           6 months ago
  • 1.1.147                                ...           6 months ago
  • 1.1.146                                ...           6 months ago
  • 1.1.145                                ...           6 months ago
  • 1.1.142                                ...           6 months ago
  • 1.1.141                                ...           6 months ago
  • 1.1.140                                ...           7 months ago
  • 1.1.139                                ...           7 months ago
  • 1.1.138                                ...           7 months ago
  • 1.1.137                                ...           7 months ago
  • 1.1.136                                ...           7 months ago
  • 1.1.135                                ...           7 months ago
  • 1.1.134                                ...           7 months ago
  • 1.1.133                                ...           7 months ago
  • 1.1.132                                ...           7 months ago
  • 1.1.131                                ...           7 months ago
  • 1.1.130                                ...           7 months ago
  • 1.1.129                                ...           7 months ago
  • 1.1.128                                ...           7 months ago
  • 1.1.127                                ...           7 months ago
  • 1.1.126                                ...           7 months ago
  • 1.1.125                                ...           7 months ago
  • 1.1.124                                ...           7 months ago
  • 1.1.123                                ...           7 months ago
  • 1.1.122                                ...           7 months ago
  • 1.1.121                                ...           7 months ago
  • 1.1.120                                ...           7 months ago
  • 1.1.119                                ...           7 months ago
  • 1.1.118                                ...           7 months ago
  • 1.1.117                                ...           7 months ago
  • 1.1.116                                ...           7 months ago
  • 1.1.115                                ...           7 months ago
  • 1.1.114                                ...           7 months ago
  • 1.1.113                                ...           7 months ago
  • 1.1.112                                ...           7 months ago
  • 1.1.111                                ...           7 months ago
  • 1.1.110                                ...           7 months ago
  • 1.1.109                                ...           7 months ago
  • 1.1.107                                ...           7 months ago
  • 1.1.106                                ...           7 months ago
  • 1.1.105                                ...           7 months ago
  • 1.1.104                                ...           7 months ago
  • 1.1.103                                ...           7 months ago
  • 1.1.102                                ...           7 months ago
  • 1.1.101                                ...           7 months ago
  • 1.1.100                                ...           7 months ago
  • 1.1.99                                ...           7 months ago
  • 1.1.98                                ...           7 months ago
  • 1.1.97                                ...           7 months ago
  • 1.1.96                                ...           7 months ago
  • 1.1.95                                ...           7 months ago
  • 1.1.94                                ...           7 months ago
  • 1.1.93                                ...           7 months ago
  • 1.1.91                                ...           7 months ago
  • 1.1.90                                ...           7 months ago
  • 1.1.89                                ...           7 months ago
  • 1.1.88                                ...           7 months ago
  • 1.1.86                                ...           7 months ago
  • 1.1.85                                ...           7 months ago
  • 1.1.84                                ...           7 months ago
  • 1.1.83                                ...           7 months ago
  • 1.1.82                                ...           7 months ago
  • 1.1.81                                ...           7 months ago
  • 1.1.80                                ...           7 months ago
  • 1.1.79                                ...           7 months ago
  • 1.1.78                                ...           7 months ago
  • 1.1.77                                ...           7 months ago
  • 1.1.76                                ...           7 months ago
  • 1.1.75                                ...           7 months ago
  • 1.1.74                                ...           7 months ago
  • 1.1.72                                ...           7 months ago
  • 1.1.71                                ...           7 months ago
  • 1.1.70                                ...           7 months ago
  • 1.1.69                                ...           7 months ago
  • 1.1.68                                ...           7 months ago
  • 1.1.67                                ...           7 months ago
  • 1.1.66                                ...           7 months ago
  • 1.1.65                                ...           7 months ago
  • 1.1.64                                ...           7 months ago
  • 1.1.63                                ...           7 months ago
  • 1.1.62                                ...           7 months ago
  • 1.1.60                                ...           7 months ago
  • 1.1.59                                ...           7 months ago
  • 1.1.58                                ...           7 months ago
  • 1.1.57                                ...           7 months ago
  • 1.1.56                                ...           7 months ago
  • 1.1.54                                ...           7 months ago
  • 1.1.53                                ...           7 months ago
  • 1.1.52                                ...           7 months ago
  • 1.1.51                                ...           7 months ago
  • 1.1.50                                ...           7 months ago
  • 1.1.49                                ...           7 months ago
  • 1.1.48                                ...           7 months ago
  • 1.1.47                                ...           7 months ago
  • 1.1.46                                ...           7 months ago
  • 1.1.44                                ...           7 months ago
  • 1.1.43                                ...           7 months ago
  • 1.1.42                                ...           7 months ago
  • 1.1.41                                ...           7 months ago
  • 1.1.40                                ...           7 months ago
  • 1.1.39                                ...           7 months ago
  • 1.1.38                                ...           7 months ago
  • 1.1.37                                ...           7 months ago
  • 1.1.36                                ...           7 months ago
  • 1.1.35                                ...           7 months ago
  • 1.1.34                                ...           7 months ago
  • 1.1.33                                ...           7 months ago
  • 1.1.32                                ...           7 months ago
  • 1.1.31                                ...           7 months ago
  • 1.1.30                                ...           7 months ago
  • 1.1.29                                ...           7 months ago
  • 1.1.28                                ...           7 months ago
  • 1.1.27                                ...           7 months ago
  • 1.1.24                                ...           7 months ago
  • 1.1.23                                ...           7 months ago
  • 1.1.22                                ...           7 months ago
  • 1.1.21                                ...           7 months ago
  • 1.1.20                                ...           7 months ago
  • 1.1.19                                ...           7 months ago
  • 1.1.18                                ...           7 months ago
  • 1.1.17                                ...           7 months ago
  • 1.1.16                                ...           7 months ago
  • 1.1.15                                ...           7 months ago
  • 1.1.14                                ...           7 months ago
  • 1.1.13                                ...           7 months ago
  • 1.1.12                                ...           7 months ago
  • 1.1.11                                ...           7 months ago
  • 1.1.9                                ...           7 months ago
  • 1.1.8                                ...           7 months ago
  • 1.1.7                                ...           7 months ago
  • 1.1.6                                ...           7 months ago
  • 1.1.5                                ...           7 months ago
  • 1.1.3                                ...           7 months ago
  • 1.1.2                                ...           7 months ago
  • 1.1.1                                ...           7 months ago
  • 1.1.0                                ...           7 months ago
  • 1.0.57                                ...           7 months ago
  • 1.0.56                                ...           7 months ago
  • 1.0.55                                ...           7 months ago
  • 1.0.54                                ...           7 months ago
  • 1.0.53                                ...           7 months ago
  • 1.0.52                                ...           7 months ago
  • 1.0.51                                ...           7 months ago
  • 1.0.50                                ...           7 months ago
  • 1.0.49                                ...           7 months ago
  • 1.0.48                                ...           7 months ago
  • 1.0.47                                ...           7 months ago
  • 1.0.46                                ...           7 months ago
  • 1.0.45                                ...           7 months ago
  • 1.0.44                                ...           7 months ago
  • 1.0.43                                ...           7 months ago
  • 1.0.42                                ...           7 months ago
  • 1.0.41                                ...           7 months ago
  • 1.0.40                                ...           7 months ago
  • 1.0.39                                ...           7 months ago
  • 1.0.38                                ...           7 months ago
  • 1.0.37                                ...           7 months ago
  • 1.0.36                                ...           7 months ago
  • 1.0.35                                ...           7 months ago
  • 1.0.34                                ...           7 months ago
  • 1.0.33                                ...           7 months ago
  • 1.0.31                                ...           7 months ago
  • 1.0.30                                ...           7 months ago
  • 1.0.29                                ...           7 months ago
  • 1.0.28                                ...           7 months ago
  • 1.0.27                                ...           7 months ago
  • 1.0.26                                ...           7 months ago
  • 1.0.25                                ...           7 months ago
  • 1.0.22                                ...           7 months ago
  • 1.0.21                                ...           7 months ago
  • 1.0.20                                ...           7 months ago
  • 1.0.19                                ...           7 months ago
  • 1.0.18                                ...           7 months ago
  • 1.0.17                                ...           7 months ago
  • 1.0.16                                ...           7 months ago
  • 1.0.15                                ...           7 months ago
  • 1.0.14                                ...           7 months ago
  • 1.0.11                                ...           7 months ago
  • 1.0.10                                ...           7 months ago
  • 1.0.9                                ...           7 months ago
  • 1.0.8                                ...           7 months ago
  • 1.0.7                                ...           7 months ago
  • 1.0.6                                ...           7 months ago
  • 1.0.5                                ...           7 months ago
  • 1.0.4                                ...           7 months ago
  • 1.0.3                                ...           7 months ago
  • 1.0.2                                ...           7 months ago
  • 1.0.1                                ...           7 months ago
  • 1.0.0                                ...           7 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |