stacker.news/lib/bolt11.js

6 lines
108 B
JavaScript

import { decode } from 'bolt11'
export function bolt11Tags (bolt11) {
return decode(bolt11).tagsObject
}