Skip to content

Commit 582b56d

Browse files
authored
Merge pull request brianc#2036 from brianc/bmc/update-readme
Update readme
2 parents bd3efaa + c090e4f commit 582b56d

File tree

2 files changed

+107
-11
lines changed

2 files changed

+107
-11
lines changed

README.md

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,20 @@
77

88
Non-blocking PostgreSQL client for Node.js. Pure JavaScript and optional native libpq bindings.
99

10-
## Install
10+
## Monorepo
1111

12-
```sh
13-
$ npm install pg
14-
```
12+
This repo is a monorepo which contains the core [pg](https://github.com/brianc/node-postgres) module as well as a handful of related modules.
1513

16-
---
17-
## :star: [Documentation](https://node-postgres.com) :star:
14+
- [pg-cursor](https://github.com/brianc/node-postgres/tree/master/packages/pg-cursor)
1815

16+
_(more to come, I'm in the process of migrating repos over here)_
17+
18+
19+
## Documenation
20+
21+
Each package in this repo should have it's own readme more focused on how to develop/contribute. For overall documentation on the project and the related modules managed by this repo please see:
22+
23+
### :star: [Documentation](https://node-postgres.com) :star:
1924

2025
### Features
2126

@@ -44,13 +49,11 @@ When you open an issue please provide:
4449

4550
You can also follow me [@briancarlson](https://twitter.com/briancarlson) if that's your thing. I try to always announce noteworthy changes & developments with node-postgres on Twitter.
4651

47-
### Professional Support
48-
49-
I offer professional support for node-postgres. I provide implementation, training, and many years of expertise on how to build applications with Node, Express, PostgreSQL, and React/Redux. Please contact me at [brian.m.carlson@gmail.com](mailto:brian.m.carlson@gmail.com) to discuss how I can help your company be more successful!
50-
5152
### Sponsorship :star:
5253

53-
If you are benefiting from node-postgres and would like to help keep the project financially sustainable please visit Brian Carlson's [Patreon page](https://www.patreon.com/node_postgres).
54+
[If you or your company are benefiting from node-postgres and would like to help keep the project financially sustainable please consider supporting](https://github.com/sponsors/brianc) its development.
55+
56+
Also, you can view a historical list of all [previous and existing sponsors](https://github.com/brianc/node-postgres/blob/master/SPONSORS.md).
5457

5558
## Contributing
5659

@@ -61,6 +64,8 @@ I will __happily__ accept your pull request if it:
6164
- looks reasonable
6265
- does not break backwards compatibility
6366

67+
If your change involves breaking backwards compatibility please please point that out in the pull request & we can discuss & plan when and how to release it and what type of documentation or communicate it will require.
68+
6469
## Troubleshooting and FAQ
6570

6671
The causes and solutions to common errors can be found among the [Frequently Asked Questions (FAQ)](https://github.com/brianc/node-postgres/wiki/FAQ)

packages/pg/README.md

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
# node-postgres
2+
3+
[![Build Status](https://secure.travis-ci.org/brianc/node-postgres.svg?branch=master)](http://travis-ci.org/brianc/node-postgres)
4+
[![Dependency Status](https://david-dm.org/brianc/node-postgres.svg)](https://david-dm.org/brianc/node-postgres)
5+
<span class="badge-npmversion"><a href="https://npmjs.org/package/pg" title="View this project on NPM"><img src="https://img.shields.io/npm/v/pg.svg" alt="NPM version" /></a></span>
6+
<span class="badge-npmdownloads"><a href="https://npmjs.org/package/pg" title="View this project on NPM"><img src="https://img.shields.io/npm/dm/pg.svg" alt="NPM downloads" /></a></span>
7+
8+
Non-blocking PostgreSQL client for Node.js. Pure JavaScript and optional native libpq bindings.
9+
10+
## Install
11+
12+
```sh
13+
$ npm install pg
14+
```
15+
16+
---
17+
## :star: [Documentation](https://node-postgres.com) :star:
18+
19+
20+
### Features
21+
22+
* Pure JavaScript client and native libpq bindings share _the same API_
23+
* Connection pooling
24+
* Extensible JS ↔ PostgreSQL data-type coercion
25+
* Supported PostgreSQL features
26+
* Parameterized queries
27+
* Named statements with query plan caching
28+
* Async notifications with `LISTEN/NOTIFY`
29+
* Bulk import & export with `COPY TO/COPY FROM`
30+
31+
### Extras
32+
33+
node-postgres is by design pretty light on abstractions. These are some handy modules we've been using over the years to complete the picture.
34+
The entire list can be found on our [wiki](https://github.com/brianc/node-postgres/wiki/Extras).
35+
36+
## Support
37+
38+
node-postgres is free software. If you encounter a bug with the library please open an issue on the [GitHub repo](https://github.com/brianc/node-postgres). If you have questions unanswered by the documentation please open an issue pointing out how the documentation was unclear & I will do my best to make it better!
39+
40+
When you open an issue please provide:
41+
- version of Node
42+
- version of Postgres
43+
- smallest possible snippet of code to reproduce the problem
44+
45+
You can also follow me [@briancarlson](https://twitter.com/briancarlson) if that's your thing. I try to always announce noteworthy changes & developments with node-postgres on Twitter.
46+
47+
### Sponsorship :star:
48+
49+
[If you or your company are benefiting from node-postgres and would like to help keep the project financially sustainable please consider supporting](https://github.com/sponsors/brianc) its development.
50+
51+
Also, you can view a historical list of all [previous and existing sponsors](https://github.com/brianc/node-postgres/blob/master/SPONSORS.md).
52+
53+
54+
## Contributing
55+
56+
__:heart: contributions!__
57+
58+
I will __happily__ accept your pull request if it:
59+
- __has tests__
60+
- looks reasonable
61+
- does not break backwards compatibility
62+
63+
If your change involves breaking backwards compatibility please please point that out in the pull request & we can discuss & plan when and how to release it and what type of documentation or communicate it will require.
64+
65+
66+
## Troubleshooting and FAQ
67+
68+
The causes and solutions to common errors can be found among the [Frequently Asked Questions (FAQ)](https://github.com/brianc/node-postgres/wiki/FAQ)
69+
70+
## License
71+
72+
Copyright (c) 2010-2019 Brian Carlson (brian.m.carlson@gmail.com)
73+
74+
Permission is hereby granted, free of charge, to any person obtaining a copy
75+
of this software and associated documentation files (the "Software"), to deal
76+
in the Software without restriction, including without limitation the rights
77+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
78+
copies of the Software, and to permit persons to whom the Software is
79+
furnished to do so, subject to the following conditions:
80+
81+
The above copyright notice and this permission notice shall be included in
82+
all copies or substantial portions of the Software.
83+
84+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
85+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
86+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
87+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
88+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
89+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
90+
THE SOFTWARE.
91+

0 commit comments

Comments
 (0)