https://github.com/jayydoesdev/ts-mongo-connector
https://github.com/jayydoesdev/ts-mongo-connector
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/jayydoesdev/ts-mongo-connector
- Owner: JayyDoesDev
- License: mit
- Created: 2021-05-18T17:41:56.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-05-20T12:47:07.000Z (about 4 years ago)
- Last Synced: 2025-04-11T22:58:29.538Z (about 1 month ago)
- Language: TypeScript
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ts-mongo-connector
ts-mongo-connector allows you to connect to your mongodb easy and fast in typescript.## Setup For TypeScript
```typescript
import mongoConnect from 'ts-mongo-connector'const client: mongoConnect = new mongoConnect()
client.c("database url")
```## Setup For JavaScript
```javascript
const { MongoConnect } = require("ts-mongo-connector");const client = new MongoConnect()
client.c("database url")
```