What is BEM?
BEM (Block, Element, Modifier) is a methodology that helps you systematically name your CSS classes (and as a side-effect, think about your HTML's organization, I find). It is a style of writing CSS so to speak. There is no npm package and no config (more on that later).
When you write BEM style CSS you have to get into the habit of thinking about components as blocks, smaller parts within those components as elements and the classes that change the default state or look of your component as modifiers. Below I will use a card component as an example – but I might as well be using examples of other typical components like header, footer, button, hero-banner, navigation etc. What blocks you have in your project will essentially depend on what components you have in your project.