New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

litespeed.js

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

litespeed.js

Lite & fast micro javascript framework that is easy to learn

  • 0.2.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
21
decreased by-12.5%
Maintainers
1
Weekly downloads
 
Created
Source

Logo

npm version

A simple javascript framework to build simple web applications. Litespeed is dependency free, easy to learn framework which gives you all tools needed to build a modern, fast and single page web application.

Litespeed is build using an MVVM architecture design, with dependency injection service to provide easy access and dependency management between views and services.

Litespeed.js makes very good use of both browser memory management, garbage collection and rendering to maximize application performance.

Getting Started

Install with NPM:

npm install litespeed.js

Install with CDN:

<script src="https://cdn.jsdelivr.net/npm/litespeed.js"></script>

As of version 0.2.* litespeed.js weights only 4.9kb (minified and compressed)

Docs

Services

ServiceDescriptionAPI & Examples
containerManage service registration, data binding and dependency injection internally.API Refs & Examples
cookieManages user cookie, retrieve and set cookies.API Refs & Examples
expressionParse template syntax expressions and execute them as JS code.API Refs & Examples
filterUse predefined string filters or add custom filters.API Refs & Examples
httpManage HTTP interactions with server side APIs.API Refs & Examples
stateManage state registration and routing.API Refs & Examples
viewHandles views registration and renderingAPI Refs & Examples

Views

ServiceDescriptionAPI & Examples
ls-initStarts DOM rendering and listen for URL changes.API Refs & Examples
ls-scopeUses to define the routed element scope.API Refs & Examples
ls-bindBinds data between your services to the DOM.API Refs & Examples
ls-attrsBinds data between your services to your element attributes.API Refs & Examples
ls-ifHides element according to given expression evaluationAPI Refs & Examples
ls-loopIterate over a service or array and renders element for each iteration.API Refs & Examples
ls-templateRender HTTP remote or inline script template to given element.API Refs & Examples

Contributing

All code contributions - including those of people having commit access - must go through a pull request and approved by a core developer before being merged. This is to ensure proper review of all the code.

Fork the project, create a feature branch, and send us a pull request.

The MIT License (MIT) http://www.opensource.org/licenses/mit-license.php

Keywords

FAQs

Package last updated on 14 Apr 2019

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