Socket
Book a DemoInstallSign in
Socket

website-js-toolbox

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

website-js-toolbox

Set of javascript tools and behaviors to use atop classical back applications.

0.1.1
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

Website JS Toolbox

Software License Build Status

Set of javascript tools and behaviors to use atop classical back applications.

Installation

npm install website-js-toolbox
yarn add website-js-toolbox

Usage

// Import as a Module
import * as WebsiteJsToolbox from "website-js-toolbox";

const { 
    Logger,
    FlashMessages
} = WebsiteJsToolbox;


Logger.info('Hell yes, we are logging an info message!');
FlashMessages.success('This is a success');

Some components like FlashMessages requires the library css to be imported into your stylesheets:

@import '../../node_modules/website-js-toolbox/dist/website-js-toolbox.min.css';

See the application and code located in docs/demo directory to have more information about how to use the components.

Executing the Demo App

This library comes with a full demo of all components.

Install local-web-server if you do not have it yet:

npm install -g local-web-server

Then, the demo can be initialized with:

npm run demo:install
npm run demo:start

The demo should be available at http://127.0.0.1:8000/public/index.html.

Development

Developping tools is pretty straighforward thanks to the demo.

  • Start watchers for the library:
npm run dev
  • Start watchers for the demo:
npm run demo:install
  • Start the demo:
npm run demo:start

Contributing

This project is not open to contributions, but feel free to use it according to the terms of the license.

License

MIT

Keywords

toolbox

FAQs

Package last updated on 24 Jan 2022

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.