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

mozuku

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mozuku

A simple and easy lightshot screen capture generator/validator.

  • 1.0.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

mozuku

A simple and easy lightshot screen capture generator/validator. 🚀

Installation

npm i mozuku or yarn add mozuku

Usage

  • Generate a new screenshot
const mozuku = require('mozuku');

mozuku.random().then(console.log);
//{
//  id: '3178e6876f9942a39edffe99ca3338f4', <= Returns undefined if not found
//  shortId: 'cg73mq',
//  isValid: true,
//  link: 'https://image.prntscr.com/image/3178e6876f9942a39edffe99ca3338f4.png',
//  shortLink: 'https://prnt.sc/cg73mq'
//}
  • Validate a screenshot
const mozuku = require('mozuku');

const printID = 'cg73mq';

mozuku.validate(printID).then(console.log);
//{
//  id: '3178e6876f9942a39edffe99ca3338f4',
//  shortId: 'cg73mq',
//  isValid: true, <= Returns false if image not exists
//  link: 'https://image.prntscr.com/image/3178e6876f9942a39edffe99ca3338f4.png',
//  shortLink: 'https://prnt.sc/cg73mq'
//}
  • Generate a random ID
const mozuku = require('mozuku');

mozuku.genRandomId(6);
//  cg73mq

Keywords

FAQs

Package last updated on 07 Sep 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

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