1.0.23 • Published 3 years ago

stripe-assistant v1.0.23

Weekly downloads
48
License
ISC
Repository
github
Last release
3 years ago

stripe-assistant

stripe-assistant provides a set of utility functions that wrap around stripes api!

API

SmartyPants converts ASCII punctuation characters into "smart" typographic punctuation HTML entities. For example:

methodargsreturns
getTrialUserslimit: int planId: stringPromise => Array
getTrialConversionstime: string planId: stringPromise => Object

Example 1

stripeHelper.getTrialConversions('dec, 2020', 'planId').then((res) =>  console.log(res))

Output: {
    trialUsers: 3,
    conversions: 1,
    conversionRate: '33.33333333333333 %
}

Example 2

stripeHelper.getTrialUsers(100,  "planId").then((res)  =>  console.log(res))
Output: [{...},{...},{...}]
1.0.23

3 years ago

1.0.22

3 years ago

1.0.21

3 years ago

1.0.20

3 years ago

1.0.19

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago