osunext-sig
osu!next signature creator for Javascript. It uses lemmmy.pw/osusig for that!
Download
npm install osunext-sig --save
Usage
var nextsig = require("osunext-sig"); console.log(nextsig('osu account name here', { //all of the options are optional, using them or just some of them is up to you color: 'hex code here', //string, the hex color code for the signature background game_mode: , //integer, game mode that will display user stats, 0 for standard, 1 for taiko, 2 for ctb and 3 for mania pp_display: , //integer, this will edit the display for pp, -1 doesn't show, 0 replaces level, 1 shows after accuracy, 2 shows above rank online_indicator: , //integer, displays online status if it is, 0 won't show, 1 glows around sig, 2 does a green triangle in avatar and 3 glows and does a triangle avatar_rounding: , //integer, the number of pixels that will make the avatar round or cicle itself, can be from 0 to 36 country_rank: , //boolean, display country rank remove_avatar_margin: , //boolean, removes the margin for the avatar flag_shadow: , //boolean, adds a shadow to the user flag flag_stroke: , //boolean, highlights in white the background opaque_avatar: , //boolean, makes the avatar a bit opaque dark_triangles: , //boolean, triangles from the background will be darker dark_header: , //boolean, makes the signature header a bit darker replace_playcount_with_scorecount: , //boolean, replaces the play count by the ranked score count xp_bar: , //boolean, shows the xp bar and the level xp_color: //boolean, if xp_bar option is enabled, this will color it of the same color as the signature background}));
License
Currently using the MIT license.