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

tavatar

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tavatar

tavtar, A simple script for generating username by text

latest
npmnpm
Version
0.0.2
Version published
Weekly downloads
1
-75%
Maintainers
1
Weekly downloads
 
Created
Source

Tavtar

tavtar, A simple script for generating username by text!

See: demo

Installtion

Before use the script, you must install cario on your machine. because the package the script used depend on cario; detail see node-canvas

or you can just run the command compatible with your machine os。

oscommand
os xbrew install pkg-config cairo pango libpng jpeg giflib
ubuntusudo apt-get install libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++
fedorasudo yum install cairo cairo-devel cairomm-devel libjpeg-turbo-devel pango pango-devel pangomm pangomm-devel giflib-devel
solarispkgin install cairo pango pkg-config xproto renderproto kbproto xextproto
windowsinstructions on our wiki

more os see node-canvas Wiki.

Finally.

$ npm i navatar -S

Usage

cosnt Navtar = require('navatar');

let avatar = new Avatar('name',100);

// write to disk
avatar.write('avatar.png');

// pipe as a Readable stream
avatar.stream().pipe(res)

//
avatar.toBuffer().toString('base64')

Keywords

avatar

FAQs

Package last updated on 30 May 2017

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