Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

n8n-nodes-cheapai

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

n8n-nodes-cheapai - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

15

dist/credentials/CheapAiApi.credentials.js

@@ -8,13 +8,6 @@ "use strict";

this.displayName = 'CheapAi API';
this.documentationUrl = 'https://beonline.pt';
this.documentationUrl = 'https://beonline.pt/cheapai';
this.properties = [
{
displayName: 'API Url',
name: 'apiUrl',
type: 'string',
required: true,
default: 'https://api.daku.tech',
},
{
displayName: 'API Keys',
displayName: 'API Key',
name: 'apiKey',

@@ -39,3 +32,3 @@ type: 'string',

Authorization: '=Bearer {{$credentials.apiKey}}',
'OpenAI-Organization': '={{$credentials.organizationId}}',
'CheapAI-Organization': '={{$credentials.organizationId}}',
},

@@ -46,3 +39,3 @@ },

request: {
baseURL: '={{$credentials.apiUrl}}',
baseURL: 'https://api.daku.tech/',
url: '/v1/models',

@@ -49,0 +42,0 @@ },

@@ -30,3 +30,3 @@ "use strict";

ignoreHttpStatusErrors: true,
baseURL: '={{$credentials.apiUrl}}',
baseURL: 'https://api.daku.tech/',
},

@@ -33,0 +33,0 @@ properties: [

{
"name": "n8n-nodes-cheapai",
"version": "0.0.2",
"description": "Run OpenAI reverse Proxy",
"version": "0.0.3",
"description": "This is a simple node that allows you to insert a custom API Url for AI",
"keywords": [
"n8n-community-node-package",
"n8n-nodes-cheapai",
"n8n-community-node-cheapai"
"n8n-community-node-package"
],

@@ -13,8 +11,8 @@ "license": "MIT",

"author": {
"name": "Lou",
"email": "Luis@beonline.pt"
"name": "BeOnline",
"email": "geral@beonline.pt"
},
"repository": {
"type": "git",
"url": "https://github.com/LuisBeOnline/n8n-nodes-cheapai.git"
"url": "https://github.com/LuisBeOnline/n8n-nodes-cheapai"
},

@@ -36,7 +34,5 @@ "main": "index.js",

"credentials": [
"dist/credentials/ExampleCredentialsApi.credentials.js",
"dist/credentials/CheapAiApi.credentials.js"
"dist/credentials/CheapAiApi.credentials"
],
"nodes": [
"dist/nodes/ExampleNode/ExampleNode.node.js",
"dist/nodes/CheapAi/CheapAi.node.js"

@@ -52,3 +48,3 @@ ]

"n8n-core": "*",
"n8n-workflow": "*",
"n8n-workflow": "^1.6.0",
"prettier": "^2.7.1",

@@ -55,0 +51,0 @@ "typescript": "~4.8.4"

{
"name": "n8n-nodes-cheapai",
"version": "0.0.2",
"description": "Run OpenAI reverse Proxy",
"version": "0.0.3",
"description": "This is a simple node that allows you to insert a custom API Url for AI",
"keywords": [
"n8n-community-node-package",
"n8n-nodes-cheapai",
"n8n-community-node-cheapai"
"n8n-community-node-package"
],

@@ -13,8 +11,8 @@ "license": "MIT",

"author": {
"name": "Lou",
"email": "Luis@beonline.pt"
"name": "BeOnline",
"email": "geral@beonline.pt"
},
"repository": {
"type": "git",
"url": "https://github.com/LuisBeOnline/n8n-nodes-cheapai.git"
"url": "https://github.com/LuisBeOnline/n8n-nodes-cheapai"
},

@@ -36,7 +34,5 @@ "main": "index.js",

"credentials": [
"dist/credentials/ExampleCredentialsApi.credentials.js",
"dist/credentials/CheapAiApi.credentials.js"
"dist/credentials/CheapAiApi.credentials"
],
"nodes": [
"dist/nodes/ExampleNode/ExampleNode.node.js",
"dist/nodes/CheapAi/CheapAi.node.js"

@@ -52,3 +48,3 @@ ]

"n8n-core": "*",
"n8n-workflow": "*",
"n8n-workflow": "^1.6.0",
"prettier": "^2.7.1",

@@ -55,0 +51,0 @@ "typescript": "~4.8.4"

@@ -1,47 +0,10 @@

![Banner image](https://user-images.githubusercontent.com/10284570/173569848-c624317f-42b1-45a6-ab09-f0ea3c247648.png)
# n8n-nodes-cheapai
# n8n-nodes-starter
This is a simple node that allows you to insert a custom API Url for AI
This repo contains example nodes to help you get started building your own custom integrations for [n8n](n8n.io). It includes the node linter and other dependencies.
## Status
Under Development
To make your custom node available to the community, you must create it as an npm package, and [submit it to the npm registry](https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry).
## Prerequisites
You need the following installed on your development machine:
* [git](https://git-scm.com/downloads)
* Node.js and npm. Minimum version Node 16. You can find instructions on how to install both using nvm (Node Version Manager) for Linux, Mac, and WSL [here](https://github.com/nvm-sh/nvm). For Windows users, refer to Microsoft's guide to [Install NodeJS on Windows](https://docs.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-windows).
* Install n8n with:
```
npm install n8n -g
```
* Recommended: follow n8n's guide to [set up your development environment](https://docs.n8n.io/integrations/creating-nodes/build/node-development-environment/).
## Using this starter
These are the basic steps for working with the starter. For detailed guidance on creating and publishing nodes, refer to the [documentation](https://docs.n8n.io/integrations/creating-nodes/).
1. [Generate a new repository](https://github.com/n8n-io/n8n-nodes-starter/generate) from this template repository.
2. Clone your new repo:
```
git clone https://github.com/<your organization>/<your-repo-name>.git
```
3. Run `npm i` to install dependencies.
4. Open the project in your editor.
5. Browse the examples in `/nodes` and `/credentials`. Modify the examples, or replace them with your own nodes.
6. Update the `package.json` to match your details.
7. Run `npm run lint` to check for errors or `npm run lintfix` to automatically fix errors when possible.
8. Test your node locally. Refer to [Run your node locally](https://docs.n8n.io/integrations/creating-nodes/test/run-node-locally/) for guidance.
9. Replace this README with documentation for your node. Use the [README_TEMPLATE](README_TEMPLATE.md) to get started.
10. Update the LICENSE file to use your details.
11. [Publish](https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry) your package to npm.
## More information
Refer to our [documentation on creating nodes](https://docs.n8n.io/integrations/creating-nodes/) for detailed information on building your own nodes.
## License
[MIT](https://github.com/n8n-io/n8n-nodes-starter/blob/master/LICENSE.md)

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