2

Is there a centralized repository where I can find ES module (ESM) alternatives for popular npm packages?

I'm looking for a mapping like:

'lodash' => 'lodash-es'
'react' => '@pika/react'
'react-dom' => '@pika/react-dom'
// etc
jeanpaul62
  • 9,451
  • 13
  • 54
  • 94

1 Answers1

0

you can use jspm instead of npm

jspm is a es module package manager

https://jspm.org/docs/guide

Muhammad Numan
  • 23,222
  • 6
  • 63
  • 80