1.0.4 • Published 3 years ago
dpi.js v1.0.4
dpi.js
a package for get screen dpi
install
npm install dpi.js
# or
yarn add dpi.js
use
// import package
import dpi from "dpi.js";
// use dpi
const { x, y } = dpi();
// print
console.log(x, y);
a package for get screen dpi
npm install dpi.js
# or
yarn add dpi.js
// import package
import dpi from "dpi.js";
// use dpi
const { x, y } = dpi();
// print
console.log(x, y);