npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@saipulanuar/canvas

v2.1.0

Published

make your dreams come true

Downloads

6

Readme

Installation

$ npm install @saipulanuar/canvas

How To Use?

const cf = require("@saipulanuar/canvas");
const fs = require('fs');

const image = await new cf.Welcome()
    .setAvatar("https://i.pinimg.com/originals/fa/15/af/fa15afef333870d161196fb76f551503.jpg")
    .setUsername("Saipul Anuar")
    .setGuildName("KingOfBear")
    .setGuildIcon("https://cdn.dribbble.com/users/1051393/screenshots/7011829/media/f19892ea228d4dfafd5a0abf273f6b3c.png")
    .setBackground("https://telegra.ph/file/3f4993d39b9994c54da94.jpg")
    .setMemberCount("404")
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/welcome-v1.png', data)
 

Result Welcome V1

const cf = require("@saipulanuar/canvas");
const fs = require('fs');

const image = await new cf.Welcome2()
    .setAvatar("https://i.pinimg.com/originals/fa/15/af/fa15afef333870d161196fb76f551503.jpg")
    .setUsername("Saipul Anuar")
    .setBg("https://img.freepik.com/free-vector/perspective-japanese-street-neon-lights_52683-44988.jpg")
    .setGroupname("KingOfBear")
    .setMember("404")
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/welcome-v2.png', data)
 

Result Welcome V2

const cf = require("@saipulanuar/canvas");
const fs = require('fs');

const image = await new cf.Welcome3()
    .setAvatar("https://i.pinimg.com/originals/fa/15/af/fa15afef333870d161196fb76f551503.jpg")
    .setUsername("Saipul Anuar")
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/welcome-v3.png', data)
 

Result Welcome V3

const cf = require("@saipulanuar/canvas");
const fs = require('fs');

const image = await new cf.Goodbye()
    .setAvatar("https://i.pinimg.com/originals/fa/15/af/fa15afef333870d161196fb76f551503.jpg")
    .setUsername("Saipul Anuar")
    .setGuildName("KingOfBear")
    .setGuildIcon("https://cdn.dribbble.com/users/1051393/screenshots/7011829/media/f19892ea228d4dfafd5a0abf273f6b3c.png")
    .setBackground("https://telegra.ph/file/3f4993d39b9994c54da94.jpg")
    .setMemberCount("404")
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/goodbye-v1.png', data)
 

Result Goodbye V1

const cf = require("@saipulanuar/canvas");
const fs = require('fs');

const image = await new cf.Goodbye2()
    .setAvatar("https://i.pinimg.com/originals/fa/15/af/fa15afef333870d161196fb76f551503.jpg")
    .setUsername("Saipul Anuar")
    .setBg("https://img.freepik.com/free-vector/perspective-japanese-street-neon-lights_52683-44988.jpg")
    .setGroupname("KingOfBear")
    .setMember("404")
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/goodbye-v2.png', data)
 

Result Goodbye V2

const cf = require("@saipulanuar/canvas");
const fs = require('fs');

const image = await new cf.Goodbye3()
    .setAvatar("https://i.pinimg.com/originals/fa/15/af/fa15afef333870d161196fb76f551503.jpg")
    .setUsername("Saipul Anuar")
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/goodbye-v3.png', data)
 

Result Goodbye V3

const cf = require("@saipulanuar/canvas");
const fs = require('fs');

const image = await new cf.Promote()
    .setAvatar("https://i.pinimg.com/originals/fa/15/af/fa15afef333870d161196fb76f551503.jpg")
    .setUsername("Saipul Anuar")
    .setGuildName("KingOfBear")
    .setGuildIcon("https://cdn.dribbble.com/users/1051393/screenshots/7011829/media/f19892ea228d4dfafd5a0abf273f6b3c.png")
    .setBackground("https://telegra.ph/file/3f4993d39b9994c54da94.jpg")
    .setMemberCount("404")
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/promote.png', data)
 

Result Promote

const cf = require("@saipulanuar/canvas");
const fs = require('fs');

const image = await new cf.Demote()
    .setAvatar("https://i.pinimg.com/originals/fa/15/af/fa15afef333870d161196fb76f551503.jpg")
    .setUsername("Saipul Anuar")
    .setGuildName("KingOfBear")
    .setGuildIcon("https://cdn.dribbble.com/users/1051393/screenshots/7011829/media/f19892ea228d4dfafd5a0abf273f6b3c.png")
    .setBackground("https://telegra.ph/file/3f4993d39b9994c54da94.jpg")
    .setMemberCount("404")
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/demote.png', data)
 

Result Demote

const cf = require("@saipulanuar/canvas");
const fs = require('fs');

const image = await new cf.Verification()
    .setAvatar("https://i.pinimg.com/originals/fa/15/af/fa15afef333870d161196fb76f551503.jpg")
    .setUsername("Saipul Anuar")
    .setGuildName("KingOfBear")
    .setGuildIcon("https://cdn.dribbble.com/users/1051393/screenshots/7011829/media/f19892ea228d4dfafd5a0abf273f6b3c.png")
    .setBackground("https://telegra.ph/file/3f4993d39b9994c54da94.jpg")
    .setMemberCount("404")
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/verification.png', data)
 

Result Verification

const cf = require("@saipulanuar/canvas");
const fs = require('fs');

const image = await new cf.Signup()
    .setAvatar("https://i.pinimg.com/originals/fa/15/af/fa15afef333870d161196fb76f551503.jpg")
    .setName("Saipul Anuar")
    .setBackground("https://telegra.ph/file/3f4993d39b9994c54da94.jpg")
    .setEmail("[email protected]")
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/signup.png', data)
 

Result Signup

const cf = require("@saipulanuar/canvas");
const fs = require('fs');

const image = await new cf.Hacker1()
    .setName("Saipul Anuar")
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/hacker-v1.png', data)
 

Result Hacker V1

const cf = require("@saipulanuar/canvas");
const fs = require('fs');

const image = await new cf.Hacker2()
    .setAvatar("https://i.pinimg.com/originals/fa/15/af/fa15afef333870d161196fb76f551503.jpg")
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/hacker-v2.png', data)
 

Result Hacker V2

const cf = require("@saipulanuar/canvas");
const fs = require('fs');

const image = await new cf.Hacker3()
    .setAvatar("https://i.pinimg.com/originals/fa/15/af/fa15afef333870d161196fb76f551503.jpg")
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/hacker-v3.png', data)
 

Result Hacker V3

const cf = require("@saipulanuar/canvas");
const fs = require('fs');

const image = await new cf.Rank()
    .setAvatar("https://i.pinimg.com/originals/fa/15/af/fa15afef333870d161196fb76f551503.jpg")
    .setUsername("Saipul Anuar")
    .setBg("https://telegra.ph/file/3f4993d39b9994c54da94.jpg")
    .setNeedexp("5000")
    .setCurrxp("6000")
    .setLevel("9")
    .setRank("https://i.pinimg.com/originals/b2/fc/1d/b2fc1da4a7c50bcc2f48fc75b54c1fee.png")
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/rank.png', data)
 

Result Rank

const cf = require("@saipulanuar/canvas");
const fs = require('fs');

const image = await new cf.Up()
    .setAvatar("https://i.pinimg.com/originals/fa/15/af/fa15afef333870d161196fb76f551503.jpg")
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/up.png', data)
 

Result Level Up

const cf = require("@saipulanuar/canvas");
const fs = require('fs');

const image = await new cf.Gfx1()
    .setName("Saipul")
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/gfx-v1png', data)
 

Result Gfx V1

const cf = require("@saipulanuar/canvas");
const fs = require('fs');

const image = await new cf.Gfx1()
    .setName("Saipul")
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/gfx-v2.png', data)
 

Result Gfx V2

const cf = require("@saipulanuar/canvas");
const fs = require('fs');

const image = await new cf.Gfx3()
    .setText1("Saipul")
    .setText2("Anuar")
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/gfx-v3.png', data)
 

Result Gfx V3

const cf = require("@saipulanuar/canvas");
const fs = require('fs');

const image = await new cf.Gfx4()
    .setText1("Saipul")
    .setText2("Anuar")
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/gfx-v4.png', data)
 

Result Gfx V4

const cf = require("@saipulanuar/canvas");
const fs = require('fs');

const image = await new cf.Gfx5()
    .setName("Saipul")
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/gfx-v5.png', data)
 

Result Gfx V5

const cf = require("@saipulanuar/canvas");
const fs = require('fs');

const image = await new cf.customGfx()
    .setText("Saipul")
    .setBg("https://i.pinimg.com/originals/fa/15/af/fa15afef333870d161196fb76f551503.jpg")
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/customGfx-v1.png', data)
 

Result Custom Gfx V1

const cf = require("@saipulanuar/canvas");
const fs = require('fs');

const image = await new cf.customGfx2()
    .setText1("Saipul")
    .setText2("Anuar")
    .setBg("https://i.pinimg.com/originals/fa/15/af/fa15afef333870d161196fb76f551503.jpg")
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/customGfx-v2.png', data)
 

Result Custom Gfx V2

const cf = require("@saipulanuar/canvas");
const fs = require('fs');

const image = await new cf.customGfx2()
    .setName("Saipul")
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/customGfx-v2.png', data)
 

Result Gura

const cf = require("@saipulanuar/canvas");
const fs = require('fs');

const image = await new cf.Burn()
    .setAvatar("https://i.pinimg.com/originals/fa/15/af/fa15afef333870d161196fb76f551503.jpg")
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/burn.png', data)
 

Result Spongebob Burn

const cf = require("@saipulanuar/canvas");
const fs = require('fs');

const image = await new cf.Patrick()
    .setAvatar("https://i.pinimg.com/originals/fa/15/af/fa15afef333870d161196fb76f551503.jpg")
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/patrick.png', data)
 

Result Patrick

const cf = require("@saipulanuar/canvas");
const fs = require('fs');

const image = await new cf.Ig()
    .setAvatar("https://i.pinimg.com/originals/fa/15/af/fa15afef333870d161196fb76f551503.jpg")
    .setUsername("Saipul Anuar")
    .setPost("19")
    .setFollowers("10000")
    .setFollowing("230")
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/instagram-profile.png', data)
 

Result Instagram Profile

const cf = require("@saipulanuar/canvas");
const fs = require('fs');

const image = await new cf.Xnxx()
    .setImage("https://i.pinimg.com/originals/fa/15/af/fa15afef333870d161196fb76f551503.jpg")
    .setTitle("Saipul Anuar")
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/xnxx.png', data)
 

Result Xnxx