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

collected-notes

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

collected-notes - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

2

package.json
{
"name": "collected-notes",
"description": "API wrapper for Collected Notes",
"version": "1.3.1",
"version": "1.3.2",
"license": "MIT",

@@ -6,0 +6,0 @@ "author": "Sergio Xalambrí",

@@ -94,3 +94,4 @@ # Collected Notes TS Client

const siteId = 1;
const notes = await cn.latestNotes(siteId);
const page = 1; // default is 1
const notes = await cn.latestNotes(siteId, page);
```

@@ -105,3 +106,3 @@

```ts
const siteId = 1;
const siteId = 1; // optional, if missing the API will use your first site
const noteContent = {

@@ -111,3 +112,3 @@ body: '# Title\nContent of the note.',

};
const note = await cn.create(siteId, noteContent);
const note = await cn.create(noteContent, siteId);
```

@@ -144,3 +145,3 @@

const noteId = 2;
const response = await cn.destroy(siteId, noteId);
await cn.destroy(siteId, noteId);
```

@@ -172,2 +173,13 @@

### Search
You can use the client to search your notes.
```ts
const siteId = 1;
const term = "new content";
const page = 1; // default is 1
const notes = await cn.search(siteId, term, page);
```
### Site and Read

@@ -174,0 +186,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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