1.0.14 • Published 4 years ago

sql-formatter-handle-space v1.0.14

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

此npm包是fork了 sql-formatter 但是sql-formatter中部分代码对sql关键字、空格的处理方式不符合大众口味,此包只格式化sql语句 原来此包中的其他三种语言已经被废弃掉,故此包由此产生

NPM 引入

npm install sql-formatter-handle-space --save

在页面中使用 import sqlFormatter frm "sql-formatter-handle-space"

sqlFormatter.format('sql语句')

CDN引入

使用方法

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>husky-header</title>
    <link ref="stylesheet" type="text/css" href="//assets.geilicdn.com/bigdata//husky-header/0.0.1/index.css"></link>
</head>
<body>
    <!-- html -->
    <script src="https://unpkg.com/sql-formatter-handle-space@latest/dist/sql-formatter.umd.js"></script>
</body>
</html>
1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago