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

@anikitenko/fdo-sdk

v1.0.19

Published

SDK for FlexDevOPs (FDO) application modules

Readme

SDK for FlexDevOPs Application modules

Overview

The FDO SDK provides a comprehensive toolkit for building application modules (plugins) for the FlexDevOps (FDO) desktop application ecosystem. This SDK enables developers to create modular extensions with rich UI capabilities using server-side HTML generation.

Features

DOM Element Generation

The SDK provides extensive DOM element creation capabilities through specialized classes:

  • DOMTable: Create HTML tables with thead, tbody, tfoot, tr, th, td, and caption elements
  • DOMMedia: Create media elements including images with accessibility support
  • DOMSemantic: Create semantic HTML5 elements (article, section, nav, header, footer, aside, main)
  • DOMNested: Create container elements including ordered lists (ol), definition lists (dl, dt, dd), and more
  • DOMInput: Create form inputs including select dropdowns with options and optgroups
  • DOMText: Create text elements (headings, paragraphs, spans, etc.)
  • DOMButton: Create button elements with event handlers
  • DOMLink: Create anchor elements
  • DOMMisc: Create miscellaneous elements like horizontal rules

All DOM classes support:

  • Custom CSS styling via goober CSS-in-JS
  • Custom classes and inline styles
  • Custom HTML attributes
  • Event handlers
  • Accessibility attributes

Plugin Framework

  • FDO_SDK Base Class: Abstract base class with lifecycle hooks (init, render)
  • IPC Communication: Message-based communication between plugin workers and main application
  • Data Persistence: Multiple storage backends (in-memory, JSON file-based)
  • System Integration: Logging, file operations, and privilege elevation

Injected Libraries

The FDO application automatically injects several popular libraries and helper functions into your plugin environment:

  • CSS Frameworks: Pure CSS, Notyf notifications, Highlight.js themes
  • JavaScript Libraries: FontAwesome icons, Split Grid, Highlight.js, Notyf, ACE Editor, Goober (CSS-in-JS)
  • Helper Functions: Backend communication, DOM utilities, event management

For complete documentation on available libraries and usage examples, see Injected Libraries Documentation.

Getting Started

Installation

npm install @anikitenko/fdo-sdk

Creating a Plugin

import { FDO_SDK, FDOInterface, PluginMetadata } from "@anikitenko/fdo-sdk";

export default class MyPlugin extends FDO_SDK implements FDOInterface {
    private readonly _metadata: PluginMetadata = {
        name: "My Plugin",
        version: "1.0.0",
        author: "Your Name",
        description: "Plugin description",
        icon: "icon.png"
    };

    get metadata(): PluginMetadata {
        return this._metadata;
    }

    init(): void {
        this.log("MyPlugin initialized!");
    }

    render(): string {
        return "<div>Hello World</div>";
    }
}

Example Usage

See examples/example_plugin.ts for a basic plugin example.

See examples/dom_elements_plugin.ts for comprehensive examples of using the new DOM element creation capabilities including tables, media, semantic HTML, lists, and form controls.

Development

Building

npm run build        # Build webpack bundle (automatically runs build:types first)
npm run build:types  # Generate TypeScript declarations only

Testing

npm test             # Run Jest tests
npm run test:coverage # Run tests with coverage report
npm run coverage:open # Open coverage report in browser

Publishing

The package includes a prepublishOnly script that automatically runs tests and builds before publishing to ensure quality.

Documentation

  • Full API documentation is available in the TypeScript declaration files
  • All public methods include JSDoc comments with usage examples
  • See the examples/ directory for working plugin implementations

License

ISC