Socket
Socket
Sign inDemoInstall

quidphp-browser

Package Overview
Dependencies
1
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    quidphp-browser

JavaScript module with helpers for use within the browser


Version published
Weekly downloads
7
increased by600%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

QuidPHP/Browser

Release License Code Size

About

QuidPHP/Browser is a JavaScript module with helpers for use within the browser.

License

QuidPHP/Browser is available as an open-source package under the MIT license.

Documentation

QuidPHP/Browser documentation is available at QuidPHP/Docs.

Installation

QuidPHP/Browser can be easily installed with NPM.

$ npm install quidphp-browser

Once installed, the package will be available within your node_modules folder.

Dependency

QuidPHP/Browser has the following dependency:

  • quidphp-javascript - JavaScript module useful for both the front-end & back-end

All dependencies will be resolved by using the NPM installation process.

Requirement

QuidPHP/Browser requires any modern browser (not Internet Explorer).

Comment

QuidPHP/Browser code is commented and all methods are explained (in French).

Overview

QuidPHP/Browser contains one entry file.

  • index - Entry file for the module

Source

QuidPHP/Browser contains 16 JavaScript files. Here is an overview:

  • browser - Script with a some functions related to browsers detection
  • data - Script for storing datas within targets
  • doc - Object for document and document fragment targets
  • dom - Script with functions related to html and dom
  • ele - Script with many functions related to element nodes
  • evt - Script containing event management functions
  • handler - Script for handler management (functions stored in targets)
  • historyState - Script with functions related to the history states
  • listener - Script containing event listeners functions for target elements
  • nod - Object for element, text and document nodes
  • request - Script with functions related to the current request
  • selector - Script with methods related to selecting and matching nodes
  • target - Script with basic functions related to event targets elements
  • uri - Script with a set of helper functions related to uri management
  • win - Object for window target
  • xhr - Script with some logic for ajax calls and xhr object

Distributable

QuidPHP/Browser contains 2 scripts that can be used in the browser.

  • browser - Minified and transpiled script ready for production
  • browser-test - Same as browser.js but also contains the module tests

Testing

QuidPHP/Browser contains 2 test scripts:

  • browser - Script to test the browser module
  • run - File to run the testsuite in browser

QuidPHP/Browser testsuite can be run in the browser by creating a new QuidPHP/Assert project. Some tests can also be run in Node with the command:

$ npm run test

Keywords

FAQs

Last updated on 02 Jul 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc