Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

alga-js

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alga-js

Alga.js is a JavaScript helper to help build UI components by using any of modern web frameworks or libraries

  • 0.1.0-beta-17
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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, see the documentation here or visit this link https://algajs.tedir.dev.

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. Don't forget to use --save-dev flag when installing it.

npm install alga-js --save-dev

#or

yarn add alga-js --dev

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 { paginate, pages, pageInfo, pagination, ... } from 'alga-js/array' // highly recommended

import { array, object, string, number, func, date, ...others* } from 'alga-js' // don't use this import
import * as $ from 'alga-js' // don't use this import

// Node/CommonJS modules
const $ = require('alga-js')  // other than $, you can use algaJs or any variable name

// 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 // not recommended
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'

Keywords

FAQs

Package last updated on 26 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc