Pinned Loading
-
Slugify makes a string URI-friendly
Slugify makes a string URI-friendly 1function slugify(string) {
2const a = 'àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìıİłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;'
3const b = 'aaaaaaaaaacccddeeeeeeeegghiiiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------'
4const p = new RegExp(a.split('').join('|'), 'g')
5 -
Promisified MySQL middleware for Nod...
Promisified MySQL middleware for Node.js 1const util = require('util')
2const mysql = require('mysql')
3const pool = mysql.createPool({
4connectionLimit: 10,
5host: 'localhost',
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.