base64-from-url

1.0.0 • Public • Published
import getBase64FromUrl from 'base64-from-url'
// 
getBase64FromUrl('url').then(function (res) {
  // => base64
  console.log(res.data)
})
<script src="base64-from-url"></script>
<script>
    getBase64FromUrl('url').then(function (res) {
     // => base64
     console.log(res.data)
   })
</script> 

Package Sidebar

Install

npm i base64-from-url

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

17.2 kB

Total Files

7

Last publish

Collaborators

  • xiwell