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 🙏

© 2025 – Pkg Stats / Ryan Hefner

fabias

v1.0.10

Published

Node.JS Service for Microsoft Fabric supporting infrastructure as code

Readme

About Fabias

This node.js module hosts several SPN based API calls useful for controling the Microsoft Fabric Service

Built With

  • NodeJS
  • Microsoft-Azure
  • GitHub-Actions

Getting Started

Utilization of this module is as simple as downloading from NPM

npm install Fabias 

Implement the Service

const FabricIASService = require('Fabias');

// @param {string} options.tenant - Azure tenant ID.
// @param {string} options.client - Client application ID.
// @param {string} options.secret - Client secret.
const service = new FabricIASService({tenant: tenant_id, client: client_id, secret: client_secret});

Authenticate the Service

Once the service has been instantiated, you need only call the authorization method of the embedded SPN based OAUTH.

await service.OAuth.authorization();

Elements

Fabias takes a true OOP approach to the Microsoft Fabric Service. Once the service is established, referencing the various components of Fabric are just properties, collections, and methods.

Workspace

Workspace is the entrypoint for accessing workspaces from the service

const myWorkspace = service.Workspace('db341d98-315d-46cc-9f47-eb68d53256cc')

//in all subsequant calls you can reuse service.workspace(GUID) or myWorkspace

If this workspace has already been referenced within your code it will return the existing item from the collection, otherwise it instantiates a Workspace object

Collections

Each Workspace object contains a git object or interacting with the workspace's code versioning, and an Environment collection

GIT

setConnection

Implemented to assign an already existing Fabric Managed Connection for Github/AZ Devops and assign to the workspace

await myWorkspace.git.setConnection('62529ee1-9821-4345-94be-ef31e0088253');
// alternatively use await service.Workspace(WORKSPACE GUID).setConnection(CONNECTION GUID)

status

Implemented to obtain the state of GIT in the workspace and determine if changes are pending. This is required before running an update in order to extract the commit head. This is captured in the background.

const status = await myWorkspace.git.status();

update

Implemented to request and update from git using the head obtained from the status call. This call returns an operation object which can subsequantly be used to Poll the status until the longrunning job completes.

const operation = await myWorkspace.git.update();
if(operation){
  await operation.pollStatus(function(status, progress){
    //Will request an update on the operation in 20 second intervals
    //Only performs up to 90 requests (30 minutes)
    //Fires this callback with the status and progress percent
    //Exits once Status is successful or failed
  });
}

Versioning

The master branch will always contain the latest, validated releases. Please use master as the version from this repository, except for testing purposes.

For a complete list of changes, review the Change Log