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

@hexabase/hexabase-js

v2.0.14

Published

Javascript client for Hexabase

Readme

Hexabase-sdk

Development

Set env

npx hx contexts:set dev --server=https://dev-api.hexabase.com --sse=https://dev-sse.hexabase.com
npx hx contexts:use dev

- Started:

  • Install:
      - yarn install
  • Building:
      - yarn run build
  • create file .env from .env.test then Config file testing at .env:
      - cp .env.test .env
      - config environment in .env file
  • Run test hexabase client:
      - yarn run test:client
      or
      - yarn jest src/hexabase.test.ts
  • Run test hexabase application:
      - yarn run test:application
      or
      - yarn jest src/lib/packages/application/application.test.ts
  • Run test hexabase auth:
      - yarn run test:auth
      or
      - yarn jest src/lib/packages/auth/auth.test.ts
  • Run test hexabase user:
      - yarn run test:user
      or
      - yarn jest src/lib/packages/user/user.test.ts
  • Run test hexabase workspace:
      - yarn run test:workspace
      or
      - yarn jest src/lib/packages/workspace/workspace.test.ts
  • Run test hexabase datastore:
      - yarn run test:datastore
      or
      - yarn jest src/lib/packages/datastore/datastore.test.ts
  • Run test hexabase storage:
      - yarn run test:storage
      or
      - yarn jest src/lib/packages/storage/storage.test.ts

- Initialize for SDK Package

- Requirement:

  • credentials must obtain from hexabase:
      - url
      - token

functions created:

  auth
    - login: login with email password
    - logout: logout user

  workspace:
    - get: get workspaces and current workspace id
    - getDetail: get detail workspace
    - setCurrent: set workspace current with id
    - getCurrent: get workspaces id current
    - create: created workspace
    - getPasswordPolicy: get workspace password policy
    - getFunctionality: get workspace functionality
    - getUsage: get workspace usage
    - getGroupChildren: get workspace children in group
    - getTaskQueueList: get queue list
    - getTaskQueueStatus: get task queue status
    - update: update workspace settings
    - archive: archive workspace

  report:
    - getReports: get reports in project
    - getDataReport: get data of report

  application:
    - getProjectsAndDatastores: get app and ds
    - create: create app
    - get: get list application in a workspace
    - getTemplates: get templates of project
    - getDetail: get info project
    - delete: delete project in workspace
    - updateProjectTheme: update project theme in workspace
    - updateProjectName: update project name in workspace

  datastore:
    - getField: get field setting in Ds
    - getActions: get actions in Ds
    - getStatuses: get statuses in Ds
    - getAction: get field action setting in Ds
    - get: get all datastore in project
    - getDetail: get detail datastore in project
    - create: create datastore in project
    - validateDatastoreDisplayID: validate before update datastore in project
    - UpdateDatastoreName: update datastore setting in project
    - deleteDatastore: delete datastore in project

  item:
    - get: get items in datastore
    - create: create new item
    - getHistories: get items histories
    - createItemId: create Itemid
    - getItemRelated: get item related in datastore
    - update: update item
    - getItemDetail: get item detail
    - deleteItem: delete item in datastore
    - execute: execute action item in datastore

  user:
    - register: get user register info by confirmationId
    - confirm: get info user confirm by confirmationId
    - getPasswordExpire: check user password is expiry
    - get: get information user by token

  storage:
    - getFile: get data of file which attached in item
    - createFile: upload file to attached in item
    - delete: delete file which attached it item

- Query function

  - from: Query from table need query
  - select: select a field or multi field
  - where: condition need query
  - or: satisfy one of multi conditions
  - and: satisfy all conditions
  - equalTo: compare condition must match
  - greaterThanOrEqualTo: compare condition greater than or equal
  - lessThan: compare condition less than
  - include: data return include condition input
  - notInclude: data return not include condition input
  - inArray: data return include condition array input
  - notInArray: data return not include condition array input
  - orderBy: sort data return 'asc' or 'desc'
  - limit/perPage: limit record return
  - offset/page: page number return