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

lezy-css

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lezy-css

Splitting media queries and lazy loading in parts from a viewport

latest
Source
npmnpm
Version
2.1.5
Version published
Maintainers
1
Created
Source

lezy-css

Splitting media queries and lazy loading in parts from a viewport

We strongly recommend that you take a critical css approach and then use lazy loading of the styles that the console will prompt you.

This approach also works very well with http2.

Which sometimes allows you to achieve an increase in the rendering speed of more than 2 times.

install

npm i lezy-css

use

example

Create file and write operation

const lezyCss = require('lezy-css');

lezyCss('style.css','./dist');

params

first - input file
second - output result

Then a split style folder will be created. Console will tell you how to use it.

If an error occurred while uploading files, pay attention to the paths.

Keywords

css

FAQs

Package last updated on 01 Feb 2021

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