Socket
Socket
Sign inDemoInstall

@strivve/strivve-sdk

Package Overview
Dependencies
12
Maintainers
3
Versions
152
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@strivve/strivve-sdk

This library is an implementation of the CardSavr API for Node.js or web applications. It contains methods for session management; security and cryptography; and resource retrieval, creation, updating, and deleting. By mangaging CardSavr's complex securit


Version published
Maintainers
3
Weekly downloads
1,071
increased by26.6%

Weekly downloads

Readme

Source

Strivve-SDK

This library is an implementation of the CardSavr API for Node.js or web applications. It contains methods for session management; security and cryptography; and resource retrieval, creation, updating, and deleting. By mangaging CardSavr's complex security requirements automatically, the JavaScript library greatly simplifies the implementation of CardSavr in your own app.

Please note: most methods in this library are asynchronous and therefore return resolved promises. Each method's individual documentation will specify if it is asynchronous. Take a look at the Quick Start guide to get up and running with the CardSavr library.

Installation

Beging by cloning the repository

git clone https://github.com/swch/Strivve-SDK.git

To try out the SDK, cd to the sample directory, and:

npm install

To build a webpack binary, run:

npm run dev (debug)
npm run prod (slightly smaller)

The webpack bundle is exported the dist/ folder and should be checked in with corresponding code changes. It is possible that future devs might not be using NPM and may want to simply use the SDK in the client.

To build the commonjs version:

npm run build

As the npm module is in typescript, the lib directory is not checked into source control. Upon making changes, the version number can be incremented and uploaded to npmjs.org

npm publish --access public

(You will need access to publish the npm module)

See The sample setup for a way to set up a sample backend server and client application using the webpack bundle.

FAQs

Last updated on 29 Jan 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc