时隔一年,Node.js 12 如约而至,正式发布第一个 Current 版本。
该版本带来了诸如:
- V8 更新带来好多不错的特性。
/** | |
* 新浪微博mid与url互转实用工具 | |
* 作者: XiNGRZ (http://weibo.com/xingrz) | |
*/ | |
var WeiboUtil = { | |
// 62进制字典 | |
str62keys: [ | |
"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", | |
"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", |
时隔一年,Node.js 12 如约而至,正式发布第一个 Current 版本。
该版本带来了诸如:
aaa bbb
aaa
bbb
Parameter | Type (length) | Description | Required | Example |
---|---|---|---|---|
business_type | String | If more than one type is involved, separate type values with vertical bar (|). | Y | 1|2|3|4|5 or 1 |
hotel_name | String | Hotel name that consists of numbers, letters, spaces, and special characters including ,.<>()[]/\-,. If more than one hotel name exists, separate values with vertical bar (|). Specify this field only when business_type is 1 (Hotel). | Y | zlidu, sluhg-987, 889utng |
'use strict'; | |
const Viz = require('viz.js'); | |
const { Module, render } = require('viz.js/full.render.js'); | |
const viz = new Viz({ Module, render }); | |
let total = 0; | |
async function graphviz(content) { | |
const svg = await viz.renderString(content); | |
total++; |
1 | ||
---|---|---|
Markdown is a lightweight and easy-to-use syntax for styling all forms of writing on the GitHub platform.
What you will learn:
https://gist.github.com/fengmk2/c598c33548c6ec53915d38a15f309192
https://gist.github.com/fengmk2/c598c33548c6ec53915d38a15f309192
[normal](https://gist.github.com/fengmk2/c598c33548c6ec53915d38a15f309192)