11cb0ef41Sopenharmony_ci--- 21cb0ef41Sopenharmony_cititle: npm-help-search 31cb0ef41Sopenharmony_cisection: 1 41cb0ef41Sopenharmony_cidescription: Search npm help documentation 51cb0ef41Sopenharmony_ci--- 61cb0ef41Sopenharmony_ci 71cb0ef41Sopenharmony_ci### Synopsis 81cb0ef41Sopenharmony_ci 91cb0ef41Sopenharmony_ci```bash 101cb0ef41Sopenharmony_cinpm help-search <text> 111cb0ef41Sopenharmony_ci``` 121cb0ef41Sopenharmony_ci 131cb0ef41Sopenharmony_ciNote: This command is unaware of workspaces. 141cb0ef41Sopenharmony_ci 151cb0ef41Sopenharmony_ci### Description 161cb0ef41Sopenharmony_ci 171cb0ef41Sopenharmony_ciThis command will search the npm markdown documentation files for the terms 181cb0ef41Sopenharmony_ciprovided, and then list the results, sorted by relevance. 191cb0ef41Sopenharmony_ci 201cb0ef41Sopenharmony_ciIf only one result is found, then it will show that help topic. 211cb0ef41Sopenharmony_ci 221cb0ef41Sopenharmony_ciIf the argument to `npm help` is not a known help topic, then it will call 231cb0ef41Sopenharmony_ci`help-search`. It is rarely if ever necessary to call this command 241cb0ef41Sopenharmony_cidirectly. 251cb0ef41Sopenharmony_ci 261cb0ef41Sopenharmony_ci### Configuration 271cb0ef41Sopenharmony_ci 281cb0ef41Sopenharmony_ci#### `long` 291cb0ef41Sopenharmony_ci 301cb0ef41Sopenharmony_ci* Default: false 311cb0ef41Sopenharmony_ci* Type: Boolean 321cb0ef41Sopenharmony_ci 331cb0ef41Sopenharmony_ciShow extended information in `ls`, `search`, and `help-search`. 341cb0ef41Sopenharmony_ci 351cb0ef41Sopenharmony_ci 361cb0ef41Sopenharmony_ci 371cb0ef41Sopenharmony_ci### See Also 381cb0ef41Sopenharmony_ci 391cb0ef41Sopenharmony_ci* [npm](/commands/npm) 401cb0ef41Sopenharmony_ci* [npm help](/commands/npm-help) 41