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

@fiberwise/sdk

v0.1.3

Published

JavaScript SDK for accessing FiberWise Dynamic Data Platform

Readme

FiberWise SDK (v0.1.3)

Overview

The FiberWise SDK provides a comprehensive JavaScript/Node.js interface for the FiberWise Platform. It includes modules for:

  • Dynamic Data Management (data)
  • Serverless Functions (functions)
  • Intelligent Agents (agents)
  • Real-time Communication (realtime)
  • OAuth Credential Management (credentials)
  • App Management (apps)
  • Configuration (config)

Installation

Install via npm:

npm install [email protected]

Note: The SDK requires Node.js 14+ or modern browsers with ES6 support

Usage

import FiberWise from 'fiberwise';

// Create instance with configuration
const fiber = new Fiberwise({
  baseUrl: 'https://api.example.com/api/v1',  // Required
  apiKey: 'your-api-key',                     // Required for authenticated calls
  appId: 'your-app-id'                        // Required for app-specific operations
});

// Initialize with AppBridge (for platform integration)
fiber.initialize(appBridge, manifest);

// Example: Using DynamicData
const users = await fiber.data.listItems('users');
console.log(users);

// Example: Running a function
const result = await fiber.functions.activate('processData', { param: 'value' });

// Example: Real-time communication
fiber.realtime.on('message', (msg) => {
  console.log('Received message:', msg);
});

Core Modules

DynamicData

// CRUD operations
await fiber.data.createItem('products', { name: 'New Product' });
const products = await fiber.data.listItems('products');
const product = await fiber.data.getItem('products', '123');
await fiber.data.updateItem('products', '123', { price: 99.99 });
await fiber.data.deleteItem('products', '123');

Functions

// Execute functions
const result = await fiber.functions.activate('calculate', { x: 5, y: 10 });

// List available functions
const functions = await fiber.functions.list();

Agents

// Run agent with streaming
const controller = await fiber.agents.activateStreaming(
  'chat-agent',
  { message: 'Hello' },
  {},
  {},
  {
    onMessage: (chunk) => console.log('Chunk:', chunk),
    onComplete: (result) => console.log('Complete:', result)
  }
);

// Stop streaming when needed
controller.close();

Realtime

// Connect to realtime service
await fiber.realtime.connect();

// Subscribe to messages
fiber.realtime.subscribe('update', (msg) => {
  console.log('Update received:', msg);
});

// Send messages
fiber.realtime.send('chat', { text: 'Hello world' });

CredentialService

// OAuth flow
const authUrl = fiber.credentials.getAuthUrl('google', {
  returnTo: '/dashboard'
});

// Check connection status
const isConnected = await fiber.credentials.isConnected('slack');

Configuration

// Get current config
const config = fiber.getConfig();
console.log('Current config:', config);

// Update config (non-destructive merge)
fiber.setConfig({
  apiKey: 'new-key',
  baseUrl: 'https://new-api.example.com/api/v1'
});

// Access specific values
const appId = fiber.getAppId();
const apiKey = fiber.getApiKey();
const baseUrl = fiber.getBaseUrl();

// Check initialization status
if (fiber.isInitialized()) {
  const appBridge = fiber.getAppBridge();
}

Build and Deploy

# Build the SDK
npm run build

# Available bundles:
# - ES Module: dist/fiberwise.esm.js
# - CommonJS: dist/fiberwise.js
# - TypeScript types: dist/index.d.ts

License

MIT License. See LICENSE for details.