Skip to content

Commit 6cdec8a

Browse files
Merge pull request #2410 from migg24/patch-1
docs(security): update import statement to helmet version 5
2 parents f905f95 + f7b1894 commit 6cdec8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/security/helmet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ $ npm i --save helmet
1515
Once the installation is complete, apply it as a global middleware.
1616

1717
```typescript
18-
import * as helmet from 'helmet';
18+
import helmet from 'helmet';
1919
// somewhere in your initialization file
2020
app.use(helmet());
2121
```

0 commit comments

Comments
 (0)