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 🙏

© 2024 – Pkg Stats / Ryan Hefner

azurestoragebinder

v1.2.0

Published

1. *A binder REST service for Azure Storage APIs.These Binder APIs can be called from both Mobile and Web applications using corresponding client libraries.* 2. *Dockerfile is included which would help containerize the service and also can be used seamles

Downloads

18

Readme

AzureStorageBinder

  1. A binder REST service for Azure Storage APIs.These Binder APIs can be called from both Mobile and Web applications using corresponding client libraries.
  2. Dockerfile is included which would help containerize the service and also can be used seamlessly with Azure Container Registry or Docker Cloud or running locally. This would help in local testing and then hosting in Azure as Web API (or any other hosting services)
  3. No need to send Storage account details as part of the request (although that option is open); these secured information can be in Azure Web API layer and service can read from process.env dictionary
  4. Server host address is kept at 0.0.0.0 - so that it can be accesses from containerized hosting solutions like Docker Swarm

API Endpoints:

Default

URL - https://<host_server_details> GET request body - { }

Table

  1. URL - https://<host_server_details>/table/create PUT request body -

    {
      "tablename" : <TABLE_NAME>
    }
  2. URL - https://<host_server_details>/table/delete DELETE request body -

    {
      "tablename" : <TABLE_NAME>
    }
  3. URL - https://<host_server_details>/table/row/insert PUT request body -

    {
      "tablename" : <TABLE_NAME>,
      "entity" :
      {
          "PartitionKey" : <PARTITION_KEY>,
          "RowKey" : <ROW_KEY>,
          ... (OTHER FIELDS as per requirement)
      }
    }
  4. URL - https://<host_server_details>/table/delete DELETE request body -

    {
      "tablename" : <TABLE_NAME>,
      "entity" :
      {
          "PartitionKey" : <PARTITION_KEY>,
          "RowKey" : <ROW_KEY>
      }
    }
  5. URL - https://<host_server_details>/table/rows/insert PUT request body -

    {
      "tablename" : <TABLE_NAME>,
      "entity" :
      [{
          "PartitionKey" : <PARTITION_KEY>,
          "RowKey" : <ROW_KEY>,
          ... (Other Fields as per requirement)
          },
          ... (Other Entities)
      ]
    }
  6. URL - https://<host_server_details>/table/fetch GET query parameters -

    tablename=<TABKLE_NAME>&condition=<CONDITION>
    
  7. URL - https://<host_server_details>/table/row/update POST request body -

    {
      "tablename" : <TABLE_NAME>,
      "entity" :
      {
          "PartitionKey" : <PARTITION_KEY>,
          "RowKey" : <ROW_KEY>
      }
    }

    POST query parameters -

    force=<boolean>&merge=<boolean>&where=<CONDITION>
    
  8. URL - https://<host_server_details>/table/retrieve GET request body -

    tablename=<TABLE_NAME>&partitionkey=<PARTITION_KEY>&rowkey=<ROW_KEY>
    

Blob

  1. URL - https://<host_server_details>/blob/container/create PUT request body -

    {
      "containername" : <CONTAINER_NAME>
    }
  2. URL - https://<host_server_details>/blob/container/delete DELETE request body -

    {
      "containername" : <CONTAINER_NAME>
    }
  3. URL - https://<host_server_details>/blob/upload POST request body -

    {
      "containername" : <CONTAINER_NAME>,
      "blobname" : <BLOB_NAME>
    }
  4. URL - https://<host_server_details>/blob/download POST request body -

    {
      "containername" : <CONTAINER_NAME>,
      "blobname" : <BLOB_NAME>
    }
  5. URL - https://<host_server_details>/blob/delete DELETE request body -

    {
      "containername" : <CONTAINER_NAME>,
      "blobname" : <BLOB_NAME>
    }

Queue

  1. URL - https://<host_server_details>/queue/create PUT request body -

    {
      "queuename" : <QUEUE_NAME>
    }
  2. URL - https://<host_server_details>/queue/delete DELETE request body -

    {
      "queuename" : <QUEUE_NAME>
          
    }
  3. URL - https://<host_server_details>/queue/message/add PUT request body -

    {
      "queuename" : <QUEUE_NAME>,
      "message" : <MESSAGE>
          
    }
  4. URL - https://<host_server_details>/queue/message/delete DELETE request body -

    {
      "queuename" : <QUEUE_NAME>,
      "messageid" : <MESSAGE_ID>,
      "popreceipt" : <POP_RECEIPT_NUMBER>
          
    }
  5. URL - https://<host_server_details>/queue/message/ POST request body -

    {
      "queuename" : <QUEUE_NAME>
          
    }
  6. URL - https://<host_server_details>/queue/messages/all POST request body -

    {
      "queuename" : <QUEUE_NAME>
          
    }
  7. URL - https://<host_server_details>/queue/message/update POST request body -

    {
      "queuename" : <QUEUE_NAME>,
      "popreceipt" : <POP_RECEIPT_NUMBER>,
      "updatemessage" :
      {
          "messageText" : <MESSAGE_TEXT_TEXT>
      }
    }
  8. URL - https://<host_server_details>/queue/dequeue POST request body -

    {
      "queuename" : <QUEUE_NAME>
    }
  9. URL - https://<host_server_details>/queue/dequeue/all POST request body -

    {
      "queuename" : <QUEUE_NAME>
    }