mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-02 14:38:50 +00:00
feat(lib): readme for npm package
This commit is contained in:
1 parent
3b93df03ef
commit
e982bd7f89
2 files changed
+36
-1
No files matched your search
@@ -0,0 +1,35 @@
|
||||
# OxMySQL exports wrapper package for Node.js
|
||||
|
||||
## Installation
|
||||
|
||||
```yaml
|
||||
# With pnpm
|
||||
pnpm add @overextended/oxmysql
|
||||
|
||||
# With Yarn
|
||||
yarn add @overextended/oxmysql
|
||||
|
||||
# With npm
|
||||
npm install @overextended/oxmysql
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
Import as module:
|
||||
```ts
|
||||
import { oxmysql } from '@overextended/oxmysql'
|
||||
```
|
||||
|
||||
Import with require:
|
||||
```js
|
||||
const { oxmysql } = require('@overextended/oxmysql');
|
||||
```
|
||||
|
||||
## Documentation
|
||||
|
||||
[View documentation](https://overextended.github.io/docs/oxmysql)
|
||||
|
||||
## License
|
||||
LGPL-3.0
|
||||
|
||||
Types are fully supported and you will get intellisense on the `oxmysql` object when using it.
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@overextended/oxmysql",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.2",
|
||||
"description": "Exports wrapper for oxmysql",
|
||||
"types": "MySQL.d.ts",
|
||||
"main": "MySQL.js",
|
||||
|
||||
Reference in new issue
Block a user