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

ai-renamer

Package Overview
Dependencies
Maintainers
0
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ai-renamer - npm Package Compare versions

Comparing version 1.0.16 to 1.0.17

2

package.json
{
"version": "1.0.16",
"version": "1.0.17",
"license": "GPL-3.0",

@@ -4,0 +4,0 @@ "name": "ai-renamer",

@@ -26,3 +26,4 @@ const ollama = require('ollama').default

const res = await ollama.generate({ model, prompt, images })
const text = res.response.trim()
const maxChars = chars + 10
const text = res.response.trim().slice(-maxChars)
const filename = await changeCase({ text, _case })

@@ -29,0 +30,0 @@ return filename

@@ -23,2 +23,5 @@ module.exports = [

// notebooks
'.ipynb',
// other

@@ -25,0 +28,0 @@ '.txt', '.log', '.diff', '.patch', '.proto', '.tex',

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