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

@dbbs/poeditor-sdk

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dbbs/poeditor-sdk

POEditor SDK

latest
npmnpm
Version
0.0.5
Version published
Maintainers
3
Created
Source

POEditor SDK

TypeScript-first SDK for seamless integration with POEditor's localization platform

Features ✨

  • Type-Safe Interactions - Full TypeScript support with strict typing
  • Atomic Operations - Batch term/translation synchronization
  • Enterprise Ready - Retry policies, caching, and error recovery
  • Webhook Support - Built-in verification and event typing
  • High API Coverage - Most of the POEditor endpoints implemented

Installation 📦

# Using yarn
yarn add @dbbs/poeditor-sdk

# Using npm
npm install @dbbs/poeditor-sdk

Quick Start 🚀

  • Get API Token

    Visit POEditor Account Settings

    Generate API token

    Store securely (recommended: environment variables)

  • Basic Usage

import { POEditorSDK } from '@dbbs/poeditor-sdk';

// Initialize with project ID and token
const sdk = new POEditorSDK(process.env.POEDITOR_TOKEN, 12345);

// Sync terms atomically
await sdk.syncTerms({
  terms: [
    { term: 'welcome_message', context: 'greetings' },
    { term: 'error_404', context: 'errors' }
  ]
});

// Export French translations
const frenchTranslations = await sdk.exportProject({
  language: 'fr',
  type: 'json'
});

API Reference 📖

CategoryMethodParametersDescription
ProjectslistProjects()-List all accessible projects
ProjectsexportProject(){ language: string, type: Format }Export translations
TermssyncTerms(){ terms: Term[] }Atomic term synchronization
TermsupdateTerms(){ terms: UpdateTerm[] }Batch term updates
LanguagesaddLanguageToProject(){ language: string, code?: string }Add new project language

View full api Documentation ->

Contributing 🤝

We welcome contributions! Please follow our workflow:

  • Fork the repository

  • Create feature branch (feat/your-feature)

  • Write tests for new functionality

  • Submit PR with:

     - Description of changes
    
     - Updated documentation
    
     - Test coverage report
    

License 📜

The DBBS Poeditor SDK is open-source software licensed under the MIT License.

Authors and Maintainers 👥

FAQs

Package last updated on 26 Mar 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