0.9.3 • Published 2 years ago

ana.js v0.9.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

ana.js

GitHub GitHub all releases

Banner

Table of Contents

  1. About the project
  2. Getting started
  3. Roadmap

About the project

This is my take on frameworks. Firstly, I am the only man developing this tool. One that will be compared to other tools built and maintained by teams orders of magnitude larger than a team of one. Someone who stumbles upon this project may not find it apt for their needs, which is perfectly fine. It doesn’t fill my needs either, if it did, I wouldn’t be continuously building and upgrading it.

What is Ana? It is short for Anarchy, a system that questions all hierarchy, authority, and, established rules. Ok, that’s too real-lifey. What does Ana.js question? What is considered to be a hierarchy, authority, or rules in the world of Front-End JavaScript Framework? Well, any answer to this will be completely arbitrary. I wouldn’t even say that the framework goes entirely against the “establishment”, it being the numerous highly competent frameworks that solve problems in the industry. Nevertheless, it does go against certain industry standards.

  • No compilers, no builders

    I would suppose that this is a controversial take, given that the industry is moving towards front-end compilers for smaller builds. But this framework is more of a library, a hypothetical JavaScript update for the language itself, for easier manipulation and creation of elements.

  • Good 'ol JavaScript Functions

    This framework is non-declarative by nature. The main deal is that creating HTML Elements is done functionally. Render functions receive other render functions as parameters. There is no markup to interact and everything can fit inside a script tag. Web components are built using these functions, so they get added to the render dictionary like any other HTML Element.

Back to top


Getting started

NPM

  1. Install the library

    npm i ana.js
  2. Saffold a vanilla-ts project using Vite.

    npm create vite@latest
    • Select project name.

    • From the list of Frameworks choose vanilla, then vanilla-ts.

    • Install all node modules.

  3. Install the Ana.js package.

    npm i ana.js
  4. Import the Ana module

    import { Ana } from 'ana.js'
    
    const A = new Ana()
    const a = A.render()

Downloadable

Download the latest release.

<link rel="stylesheet" href="ana.min.css">
<script src="ana.min.js"></script>

Back to top


Roadmap

  • Features

    • Basic Reactivity.
      • Intelligent reactivity.
    • SVG support. (~20% of SVG Elements)
    • Server Side rendering.
    • Lazy Loading.
    • Reduce library intializaiton to an external anaconfig.json file.
  • Development

    • Error handling.
    • Unit testing.
    • Github actions for CI/CD.
    • Project dockerization.
    • Optionally imported features.
      • Add custom components
  • External

    • Prettier plugin or configuration file.
    • VSCode syntax highlighting.
    • Scaffolding CLI package ana-cli.

Back to top

0.9.3

2 years ago

0.9.2

2 years ago

0.9.1

2 years ago

0.9.0

2 years ago

0.6.19

2 years ago

0.6.18

2 years ago

0.6.17

2 years ago

0.6.11

2 years ago

0.6.10

2 years ago

0.6.9

2 years ago

0.6.8

2 years ago

0.6.6

2 years ago

0.6.5

2 years ago

0.6.4

2 years ago

0.6.3

2 years ago

0.6.2

2 years ago

0.6.1

2 years ago

0.6.0

2 years ago

0.5.14

2 years ago