1.0.5 โ€ข Published 2 years ago

@varuntiwari/tomperjs v1.0.5

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

๐Ÿงพ Description

TomperJS is a web-framework based on MVC(Model-View-Controller) architecture pattern. It is very similar to one of the most popular web-framework BackboneJS

๐Ÿ’ฟ Installation

npm i --save @varuntiwari/tomperjs

๐Ÿ Example

import { View } from '@varuntiwari/tomperjs';

class MyView extends View {
  template() {
    return `
    <div>
      <h1>Awesome App</h1>
    </div>
    `;
  }
}

const root = document.getElementById('root');

if (root) {
  // Create view
  const myView = new MyView(root);
  // Render the view
  myView.render();
}

โœจ Features

  • Uses Model-View-Controller pattern.
  • Collection support for handling multiple models of similar type.
  • Reactive views which reacts to change on a Model.
  • User and custom events support using Eventing module.
  • Built-in standard API controllers like fetch() and save().

โš™ Tools and Technologies used

  1. Typescript
  2. Axios

๐Ÿ›  Local Installation and setup

  1. Clone the repo to your local machine.
  2. Install the required dependency for server using :

    npm install

๐ŸŽ Creating production built

  1. Build the package using

    npm run build
  2. Update the Docs using

    npm run docs

๐Ÿ˜Ž Team Members

โš– License

GPL-3.0

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago