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

d-utils-lite

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

d-utils-lite

d-utils-lite

  • 0.0.4
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

关于d-utils-lite

产生背景

d-utils过于庞大导致部分代码无法树摇

功能描述

主要是讲通用的非class类的方法集成在 d-utils-lite 模块直接引入即可使用

安装

使用npm安装 d-utils-lite 依赖

npm i d-utils-lite

yarn

yarn add d-utils-lite
使用

获取所有方法

import * as DutilsLite from 'd-utils-lite'
DutilsLite.addClass(document.body, 'd-utils-lite')

按需引入

import { addClass } from 'd-utils-lite'
addClass(document.body, 'd-utils-lite')

Keywords

FAQs

Package last updated on 11 Oct 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