New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ez-repldb

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ez-repldb - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

3

index.d.ts

@@ -9,2 +9,3 @@ export declare function get(...keys: string[]): Promise<any[] | null>;

export declare function applyObject(object: object): Promise<boolean>;
export declare function import(url: string): Promise<boolean>;
declare function _import(url: string): Promise<boolean>;
export { _import as import };
{
"name": "ez-repldb",
"version": "1.0.3",
"version": "1.0.4",
"description": "Use Replit's database with ease with EZReplDB!",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -151,2 +151,25 @@ # EZReplDB

```
---
## Properties
These are properties of the exported database object.
---
```js
db.url;
```
This property allows you access to the full URL used by all database methods, you can actually set this to a different Repl's database URL and all the methods will interact with that database instead.
> Note: You can `get` and `set` this property, `set`ing it will also change the value of `db.path`.
---
```js
db.host;
```
This property allows you to see the host of your Replit database (which will always be `kv.replit.com`).
> Note: You can only `get` this property, `set`ing it will not change its value.
---
```js
db.path;
```
This property allows you to see the path of your Replit database.
> Note: You can only `get` this property, `set`ing it will not change its value (although it's value will be changed if `db.url` is altered).
---
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc