npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@muhammedaksam/logo-objects-node

v1.1.8

Published

TypeScript client SDK and tools for Logo Objects REST Service API

Readme

Logo Objects REST API Client Node.js SDK

npm version License: MIT TypeScript CI codecov Node.js

A comprehensive TypeScript client SDK for the Logo Objects REST Service API. This project provides type-safe API clients and comprehensive test suites.

Features

  • 🚀 TypeScript Client SDK - Type-safe API clients with full IntelliSense support
  • 🧪 Test Suites - Comprehensive test coverage with Jest
  • Performance Optimized - Built-in retry logic, caching, and error handling

Installation

Install the SDK using your preferred package manager:

pnpm add @muhammedaksam/logo-objects-node

Or with npm:

npm install @muhammedaksam/logo-objects-node

Or with yarn:

yarn add @muhammedaksam/logo-objects-node

Quick Start

Basic Usage

import { LogoApiClient } from '@muhammedaksam/logo-objects-node';

// Initialize the client
const client = new LogoApiClient({
  baseURL: 'http://localhost:32001/api/v1',
  apiKey: 'your-api-key',
});

// Get employees
const employees = await client.employees.getAll({
  limit: 10,
  fields: 'CODE,NAME,E_MAIL',
});

// Get contacts
const contacts = await client.contacts.getAll({
  q: "NAME like 'John*'",
  limit: 20,
});

// Get sales orders
const salesOrders = await client.salesOrders.getByClientCode('CUST001');

// Get projects
const activeProjects = await client.projects.getActive();

// Create a new opportunity
const newOpportunity = await client.opportunities.create({
  CODE: 'OPP001',
  DESCRIPTION: 'New sales opportunity',
  CLIENTREF: 123,
  ESTVALUE: 50000,
});

Advanced Usage with Query Options

// Complex query with filtering and sorting
const filteredEmployees = await client.employees.getAll({
  q: "NAME like 'John*' and ACTIVE eq 1",
  sort: 'NAME,DATE_CREATED desc',
  expandLevel: 'full',
  withCount: true,
  limit: 25,
});

// Get employees with related data
const employeesWithDetails = await client.employees.getAll({
  expand: 'CONTACTS,ADDRESSES',
  fields: 'CODE,NAME,CONTACTS.EMAIL,ADDRESSES.CITY',
});

Available Scripts

Development

pnpm run dev              # Run development server
pnpm run build:watch      # Build in watch mode

Testing

pnpm run test             # Run tests
pnpm run test:watch       # Run tests in watch mode
pnpm run test:coverage    # Run tests with coverage
pnpm run test:quick       # Quick validation test
pnpm run test:clients     # Comprehensive client test
pnpm run test:validate    # Run both validation tests

Code Quality

pnpm run lint             # Run ESLint
pnpm run lint:fix         # Fix ESLint issues

Utilities

pnpm run clean            # Clean build artifacts

Supported APIs

This client supports all Logo Objects REST Service APIs

Additional Features

  • Advanced filtering and search capabilities
  • Pagination and sorting options
  • Field selection and data expansion
  • Real-time data synchronization
  • Comprehensive error handling

Each client provides specialized methods for common operations:

  • CRUD operations (Create, Read, Update, Delete)
  • Search and filtering by various criteria
  • And much more...

Configuration

Client Configuration

const client = new LogoApiClient({
  baseURL: 'http://localhost:32001/api/v1',
  apiKey: 'your-api-key',
  timeout: 30000, // Request timeout in ms
  retries: 3, // Number of retry attempts
  retryDelay: 1000, // Delay between retries in ms
});

Error Handling

The client provides comprehensive error handling:

try {
  const employee = await client.employees.getById(999);
} catch (error) {
  if (error instanceof ApiError) {
    console.log('API Error:', error.message);
    console.log('Status:', error.status);
    console.log('Code:', error.code);
  } else {
    console.log('Network Error:', error.message);
  }
}

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Development

This project uses pnpm for package management.

Prerequisites

  • Node.js 20 or higher
  • pnpm 8.0.0 or higher

Install pnpm globally if you haven't already:

npm install -g pnpm

Install Dependencies

pnpm install

Build the Project

pnpm run build

Development Setup

  1. Install dependencies: pnpm install
  2. Run tests: pnpm test
  3. Start development server: pnpm run dev

License

This project is licensed under the MIT License - see the LICENSE file for details.