Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use it with new import syntax? #68

Open
b0risboris opened this issue Apr 6, 2022 · 4 comments
Open

how to use it with new import syntax? #68

b0risboris opened this issue Apr 6, 2022 · 4 comments

Comments

@b0risboris
Copy link

hi,

thank you for this useful package... how can we use it with new import syntax?
i tried
import {md5} from 'md5';
but its not working..

@nurkholiqansori
Copy link

import md5 from 'md5'

const hash = md5('Hello World')

@micalevisk
Copy link

@b0risboris I guess you can close this now :)

@josh-sonian
Copy link

When I follow @nurkholiqansori md5 is undefined

@jculloty
Copy link

@josh-sonian @b0risboris
Use

import * as md5 from 'md5';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants