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

ext-node-sql

v2.1.0

Published

ext-node-sql is a simple ExtJS Direct backend connector for ms sql api for create/read/update/destroy methods

Readme

ext-node-sql

ext-node-sql is a simple ExtJS Direct backend connector for ms sql api for create/read/update/destroy methods

Standards Used: ES5 (ECMAScript5) MS SQL Server (T-SQL) ExtDirect Specification (http://docs.sencha.com/extjs/6.5.3/guides/backend_connectors/direct/specification.html?)

Notes: Although I used the specification provided by Sencha for Ext Direct remote server. I did not build request batching into this version. To get around this I have specified in the client proxy for BatchActions: false

Features:

  1. Uses the mssql package from npm to provide connectivty
  2. Conforms to the Sencha specification for Ext Direct (For single transactions/non-batching)
  3. /dynapi server route provides path to dynamic API discovery for MSSQL server stored procedures that are prefixed with a configurable prefix found in the server-config.json
  4. /api server route is configurable via the api.js file for static api discovery
  5. Easily configurable server-config.json and db-config.json to provide options for database connectivity and other server settings.

Installation:

  1. Clone repository to your desired server location
  2. Modify server-config.json, and db-config.json to match your needs
  3. Install nodemon (optional)
  4. Start server

ExtJS Client Configuration:

  1. All dynamic API discovery must be routed to :/dynapi
  2. All state API discovery must be routed to :/api
  3. All remote procedure calls must be routed to :/direct

Future releases:

  1. I plan to incorporate a /login function that returns a session GUID provided by the database, and an accompanying /logout function to invalidate a session by GUID.
  2. I'll also be securing all requests to paths other than /login for security purposes by checking for the GUID parameter in the query string of each XHR.
  3. I'm also planning to incorporate support for ExtJS Direct batching.

Final Thoughts: I hope this helps those who use the ExtJS framework, as I have searched far and long for an easy to use back-end connector for MS SQL. I realize this is not an enterprise solution, but it should help those who wish to get an idea of how to produce a server standard for themselves or improve upon what I've written. I've done my best to comment what I have, although the routing practices and module organization I'm sure can be improved upon. So please feel free to do so.