feat(lib): readme for npm package

This commit is contained in:
Luke committed 2022-07-10 21:49:33 +02:00
1 parent 3b93df03ef
commit e982bd7f89
2 files changed
+36 -1

No files matched your search

+35
View File
@@ -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
View File
@@ -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",