GithubHelp home page GithubHelp logo

mccarthy / http-hmac-javascript Goto Github PK

View Code? Open in Web Editor NEW

This project forked from acquia/http-hmac-javascript

0.0 0.0 0.0 191 KB

An implementation of the HTTP HMAC Spec in JavaScript. -- [Created 2016-01-12 by ynx aka [email protected] via github.acquia.com]

Home Page: https://github.com/acquia/http-hmac-spec

License: MIT License

HTML 2.36% PHP 0.52% JavaScript 97.12%

http-hmac-javascript's Introduction

HTTP HMAC Signer for JavaScript

ES5 ES6 Build Status

HMAC Request Signer is a JavaScript library that implements the version 2.0 of the HTTP HMAC Spec to sign RESTful Web API requests and verify responses.

Please note the 1.0 Spec is not supported.

Development Prerequisites

Before further development, please ensure the following tools are installed on your computer.

You can use the following commands to check if you already have those tools:

git --version
node -v
npm -v

Files

  • demo/ - Visit get.html and post.html to see the demo in action.
  • lib/ - Library files.
    • es5/ - Transpiled ES5 version, polyfilled to IE 5.5.
    • es6/ - ES6 version.
  • src/ - Source files. Code changes should be made here.
    • demo/ - Demo files to show how the library can be used.
    • hmac.js - The source file of the library.

Build

  • Run npm install to install all dependencies.
  • Make code changes in src/ directory.
  • In root directory, run gulp build-demo. Alternatively, you can run gulp to keep gulp on watch to automatically compile/transpile all file changes.

Tests

  • Run npm install to install all dependencies.
  • In root directory, run gulp test to see the current test results. Alternatively, you can go to the qunit/hmac.html page in your browser.

http-hmac-javascript's People

Contributors

ynx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.