开源软件名称:sosnail
开源软件地址:https://gitee.com/sosnail/sosnail
开源软件介绍:
___ __ /\_ \ ____ ___ ____ ___ __ /\_\\//\ \ /',__\ / __`\ /',__\ /' _ `\ /'__`\ \/\ \ \ \ \ /\__, `\/\ \L\ \/\__, `\/\ \/\ \/\ \L\.\_\ \ \ \_\ \_\/\____/\ \____/\/\____/\ \_\ \_\ \__/.\_\\ \_\/\____\ \/___/ \/___/ \/___/ \/_/\/_/\/__/\/_/ \/_/\/____/ sosnail
identiconInstallationUsage<script type="text/javascript" src="sosnail.min.js"></script><script type="text/javascript"> var number = sosnail.number();</script> const sosnail = require('sosnail'); import * as sosnail from 'sosnail';//orimport sosnail from 'sosnail';const number = sosnail.number();const letter = sosnail.letter();const mixture = sosnail.mixture();const identicon = sosnail.identicon({ 'text': 'test'});const color = sosnail.color();const random = sosnail.random({ 'data': [1, 2, 3, 4, 5]});const colorPicker = new sosnail.ColorPicker();const hex2rgb = colorPicker.hex2rgb('#0000ff');const rgb2hex = colorPicker.hex2rgb(0,0,255); //ES6import {number,letter,mixture,identicon,color,ColorPicker} from 'sosnail';const randomNumber = number();const randomLetter = letter();const colorPicker = new ColorPicker(); DocumentationhistoryLicenseMIT Copyright (c) 2017-present, sosnail |
请发表评论