```typescript
import { getFips } from "node:node__crypto.d.ts";
```
getFips(): 1 | 0
Return Type
1 | 0
`1` if and only if a FIPS compliant crypto provider is currently in use, `0` otherwise. A future semver-major release may change the return type of this API to a {boolean}.