Git Product home page Git Product logo

alga-js's Introduction

Alga.js logo

Downloads Version License


Alga.js

Alga.js is a JavaScript helper to help build UI components by using any of modern web frameworks or libraries, especially the frameworks that we currently use like Vue, Petite-Vue, Alpine.js and Vanilla Web Components to produce our custom elements, see the documentation here or visit this link tedirghazali.gitbook.io/algajs.

Installation

This Alga.js is a pure JavaScript plugin, so it doesn't have any dependencies and you can install it by using NPM or Yarn.

npm install alga-js

#or

yarn add alga-js

Usage

You may want to use one of two JS modules either you use ES module or UMD module, ES module is highly recommended for using alongside modern web frameworks, but if you want it to run in the browser or in a server side, UMD module is the option.

// ES modules
import { array, object, string, number, func, date, ...others* } from 'alga-js' // or
import * as $ from 'alga-js'

// Node/CommonJS modules
const $ = require('alga-js')

// UMD (AMD/IIFE)
//<script src="alga-umd.js"></script>

// Obsolete or deprecated
import { $array, $object, $string, ... } from 'alga-js' // or
import * as _ from 'alga-js' // or
import * as Alga from 'alga-js'

// Tree-shakable
import { paginate, pages, ... } from 'alga-js/lib/array.js'
import { weeks } from 'alga-js/lib/date.js' // or
import { ...[helperMethod]* } from 'alga-js/lib/[helperFile].js'

alga-js's People

Contributors

tedirghazali avatar utitofon-udoekong avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.