New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@jianghe/sand-viewport

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jianghe/sand-viewport

sand视口设置库

latest
Source
npmnpm
Version
1.2.6-3
Version published
Maintainers
1
Created
Source

@jianghe/sand-viewport 用法.

执行 setViewport 会在 head 中增加一个 meta 标签

import setViewport from '@jianghe/sand-viewport';

// 7.5rem === 100vw
const { htmlFontSize } = setViewport(7.5);

// htmlFontSize表示设置在body上的字体大小是多大

Keywords

sand

FAQs

Package last updated on 15 Aug 2020

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