UNPKG

@rajrajhans/ai-renamer

Version:

A Node.js CLI that uses Ollama and LM Studio models (Llava, Gemma, Llama etc.) to intelligently rename files by their contents

9 lines (6 loc) 225 B
const path = require('path') const supportedExtensions = require('./supportedExtensions') module.exports = ({ filePath }) => { const ext = path.extname(filePath).toLowerCase() return supportedExtensions.includes(ext) }