Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
call-printer
Advanced tools
Readme
pkg.module supported
, which means that you can apply tree-shaking in you project
A tool for easily customize you content to call printer in browser
https://github.com/livelybone/call-printer.git
https://github.com/livelybone/call-printer#readme
you can see the usage by run the example of the module, here is the step:
git clone https://github.com/livelybone/call-printer.git
cd your-module-directory
npm i
(use taobao registry: npm i --registry=http://registry.npm.taobao.org
)npm run dev
http://127.0.0.1:3000/examples/test.html
) in your browsernpm i -S call-printer
umd
bundleCallPrinter
See what method or params you can use in index.d.ts
import { callPrinter } from 'call-printer'
// print the html string
callPrinter('<img src="./sample.jpeg" style="width: 100%;">')
// print the dom element
const content = document.getElementById('content')
callPrinter(content)
Use in html, see what you can use in CDN: unpkg
<-- use what you want -->
<script src="https://unpkg.com/call-printer/lib/umd/<--module-->.js"></script>
Or,see what you can use in CDN: jsdelivr
<script src="https://cdn.jsdelivr.net/npm/call-printer/lib/umd/<--module-->.js"></script>
FAQs
A tool for easily customize you content to call printer in browser
The npm package call-printer receives a total of 32 weekly downloads. As such, call-printer popularity was classified as not popular.
We found that call-printer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.