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

dom-floater

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dom-floater

A javascript module/ plugin/ library/ component for floating dom elements on a webpage.

  • 1.0.4
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

dom-floater

A javascript module/ plugin/ library/ component for floating dom elements on a webpage.

Installation

npm install --save dom-floater

Usage:

import * as myModule from '../dist/dom-floater';
myModule.Init();

License

Licensed under the MIT license.

Local Development

StepsCommandDescription
1npm run setupInstalls all dependencies node_modules etc., that are necessary for building the project.
2npm run devBuilds the code in development mode, this compiles component code and also sandbox code. All source code is watched for changes and assets are re-built. Run this in a separate terminal instance.
3npm run sandboxCompiles sandbox usage code for sandbox testing the library/ module. All source code is watched for changes and assets are re-built. Run this in a separate terminal instance.
4npm run serveBoots a http server of the sandbox directory. Typically on http://localhost:8080. Run this in a separate terminal instance.
5npm run prettierOptional & Opinionated pretti-fying of code.
6npm run lintOptional & Opinionated linting and enforcing code legiblity.
7npm run distGenerate library in ./dist directory.
8npm run publishPublish library/ module. Refer Usage section.

Keywords

FAQs

Package last updated on 14 Mar 2018

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