File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,23 @@ This is a bridge to these libraries.
99- Running on jvm, calls [ https://github.com/vertical-blank/sql-formatter ] ( https://github.com/vertical-blank/sql-formatter )
1010- Running on js, calls [ https://github.com/zeroturnaround/sql-formatter ] ( https://github.com/zeroturnaround/sql-formatter )
1111
12- ## Examples
12+ ## Usage
13+
14+ ### Scala (on JVM)
15+
16+ ``` sbt
17+ libraryDependencies += " com.github.vertical-blank" %% " scala-sql-formatter" % " 1.0.0"
18+ ```
19+
20+ ### Scala.js
21+
22+ ``` sbt
23+ libraryDependencies += " com.github.vertical-blank" %%% " scala-sql-formatter" % " 1.0.0"
24+
25+ scalaJSLinkerConfig ~= { _.withModuleKind(ModuleKind .CommonJSModule ) }
26+ ```
27+
28+ ### Examples
1329
1430You can easily use ` com.github.vertical_blank.sqlformatter.scala.SqlFormatter ` :
1531
You can’t perform that action at this time.
0 commit comments