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
  • 7,981
  • 10
  • 47
  • 82

1 Answers1

0

you can use jspm instead of npm

jspm is a es module package manager

https://jspm.org/docs/guide

Muhammad Numan
  • 17,689
  • 4
  • 42
  • 65