Skip to content

Commit

Permalink
Update README.md (#391)
Browse files Browse the repository at this point in the history
typo fix and reflecting node.js version updates
  • Loading branch information
zozo-yasuda authored Aug 21, 2024
1 parent 1b6f05d commit 22039ab
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,11 @@ An asynchronous interface for Node.js to unixODBC and its supported drivers.

## Node.js Version Support

This package is a native addon, built with C++ code using `node-addon-api`, a C++ wrapper for [N-API](https://nodejs.org/api/n-api.html). `node-addon-api` only supports versions of Node.js that are in LTS or newer. [A list of supported versions can be found on the Node.js website](https://nodejs.org/en/about/releases/). Current versions supported include:
This package is a native addon, built with C++ code using `node-addon-api`, a C++ wrapper for [N-API](https://nodejs.org/api/n-api.html). `node-addon-api` only supports versions of Node.js that are in LTS or newer. [A list of supported versions can be found on the Node.js website](https://nodejs.org/en/about/releases/). Current versions supported as of July 2024 include:

* Node.js 12
* Node.js 14
* Node.js 16
* Node.js 18
* Node.js 20
* Node.js 22

---

Expand Down Expand Up @@ -639,7 +638,7 @@ odbc.connect(`${process.env.CONNECTION_STRING}`, (error, connection) => {

### `.close(callback?)`

Closes and open connection. Any transactions on the connection that have not been ended will be rolledback.
Closes an open connection. Any transactions on the connection that have not been ended will be rolledback.

#### Parameters:
* **callback?**: The function called when `.close` has finished clsoing the connection. If no callback function is given, `.close` will return a native JavaScript `Promise`. Callback signature is:
Expand Down

0 comments on commit 22039ab

Please sign in to comment.