UNPKG
author
Version:
latest (1.0.0)
1.0.0
0.0.1
0.0.0
a simple token and signature creator for OAuth
github.com/guo-yu/author
guo-yu/author
author
/
examples
/
index.js
12 lines
(9 loc)
•
207 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
var
author =
require
(
'../dist/author'
)
var
oauthParams = author.
oauth1
({
method
:
'get'
,
url
:
'http://abc.com'
}, {
oauth_callback
:
'123'
,
oauth_consumer_key
:
'123333'
, }); console.
log
(oauthParams)