New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

devlama

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

devlama

AI-powered development assistant that leverages Ollama's language models for code generation and assistance

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

DevLama (formerly JSLama)

AI-powered development assistant that leverages Ollama's language models for code generation and assistance.

npm version License Node.js Version

PyLama Ecosystem Navigation

ProjectDescriptionLinks
DevLamaAI-powered development assistantGitHub · NPM · Docs
GetLLMLLM model management and code generationGitHub · PyPI · Docs
LogLamaCentralized logging and environment managementGitHub · PyPI · Docs
APILamaAPI service for code generationGitHub · Docs
BEXYSandbox for executing generated codeGitHub · NPM · Docs
JSLamaJavaScript code generationGitHub · NPM · Docs
SheLLamaShell command generationGitHub · PyPI · Docs
WebLamaWeb application generationGitHub · Docs

Author

Tom Sapletta — DevOps Engineer & Systems Architect

  • 💻 15+ years in DevOps, Software Development, and Systems Architecture
  • 🏢 Founder & CEO at Telemonit (Portigen - edge computing power solutions)
  • 🌍 Based in Germany | Open to remote collaboration
  • 📚 Passionate about edge computing, hypermodularization, and automated SDLC

GitHub LinkedIn ORCID Portfolio

Support This Project

If you find this project useful, please consider supporting it:

Installation

npm install -g devlama  # For global CLI usage
# or
yarn global add devlama

Quick Start

Command Line Usage

# Initialize a new project
devlama init my-project

# Generate code from a prompt
devlama generate "Create a React component that displays a counter"

# Start interactive mode
devlama

# Show version
devlama --version

Programmatic Usage

const { DevLama } = require('devlama');

const devlama = new DevLama({
  model: 'codellama',  // Default model
  temperature: 0.7,
});

// Generate code from a prompt
const code = await devlama.generateCode('Create a function that sorts an array of objects by a property');
console.log(code);

Features

  • AI-powered code generation and assistance
  • Support for multiple programming languages
  • Integration with Ollama's language models
  • Interactive REPL for development
  • Configurable model parameters
  • Project scaffolding and management JSLama.generate(prompt).then(code => { console.log(code); });

## Testing

To run tests for JSLama using the PyLama ecosystem:

```bash
cd ../../tests
./run_all_tests.sh
# or for a tolerant run
./run_all_tests_tolerant.sh

Or, from the jslama directory:

make test

Project Management

Common Makefile commands:

  • make install – Install dependencies
  • make lint – Lint code
  • make test – Run tests
  • make build – Build project
  • make clean – Clean build/deps
  • make format – Format code
  • make start – Start project (if supported)

Example: Code Generation with JSLama

const JSLama = require('jslama');

JSLama.generate('Write a function to reverse a string.').then(code => {
  console.log(code);
  // Output: function reverseString(str) { return str.split('').reverse().join(''); }
});

JSLama is a JavaScript code generation tool that leverages Ollama's language models. It is part of the PyLama ecosystem and integrates with LogLama as the primary service for centralized logging and environment management.

Keywords

devlama

FAQs

Package last updated on 29 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts