Home / npm packages / @nestjs/common

@nestjs/common source code

Every file of @nestjs/common@12.1.2 as published on npm: 409 files, 543 KB. Search them by exact text or regex, in milliseconds.

It uses: process.env.

What @nestjs/common uses

APIIn @nestjs/common
eval()
runs a string as JavaScript
NoWho does
new Function()
builds a function from a string, like eval (with or without new)
NoWho does
child_process
starts other programs
NoWho does
process.env
reads environment variables
Yes: 4 files
e.g. utils/cli-colors.util.js
See the lines
the fs module
reads and writes files
NoWho does
http / https
makes or serves HTTP requests with Node's own modules
NoWho does
fetch()
makes HTTP requests
NoWho does
XMLHttpRequest
makes HTTP requests the old browser way
NoWho does
crypto
hashes, encrypts or makes random numbers
NoWho does
WebAssembly
loads WebAssembly code
NoWho does
document.cookie
reads or writes browser cookies
NoWho does
install scripts
runs a script when it's installed
NoWho does

Exact matches in the published files, so a mention in a comment counts too: open the lines to check.

Largest files

FileSize
interfaces/http/http-server.interface.d.ts32 KB
decorators/http/route-params.decorator.d.ts24 KB
services/console-logger.service.js23 KB
decorators/http/route-params.decorator.js15 KB
services/console-logger.service.d.ts13 KB
Readme.md11 KB
pipes/validation.pipe.js11 KB
services/logger.service.js9.6 KB
module-utils/configurable-module.builder.js9.3 KB
services/utils/redact.util.js8.5 KB
interfaces/nest-application.interface.d.ts7.1 KB
pipes/parse-array.pipe.js6.2 KB
interfaces/nest-application-context.interface.d.ts5.8 KB
exceptions/http.exception.js5.6 KB
interfaces/external/https-options.interface.d.ts5.3 KB
decorators/http/request-mapping.decorator.js5.2 KB
pipes/file/file-type.validator.js5.2 KB
module-utils/configurable-module.builder.d.ts5.1 KB
interfaces/http/security-headers-options.interface.d.ts5.0 KB
decorators/http/request-mapping.decorator.d.ts4.8 KB
services/logger.service.d.ts4.7 KB
decorators/core/controller.decorator.d.ts4.7 KB
exceptions/http.exception.d.ts4.4 KB
interfaces/modules/provider.interface.d.ts4.4 KB
pipes/standard-schema-validation.pipe.js4.2 KB
enums/http-status.enum.js4.1 KB
pipes/validation.pipe.d.ts4.1 KB
pipes/standard-schema-validation.pipe.d.ts4.0 KB
utils/load-package.util.js3.6 KB
interfaces/nest-microservice.interface.d.ts3.5 KB

Questions

How many files are in @nestjs/common?

Version 12.1.2 of @nestjs/common publishes 409 files of source, 543 KB in all, not counting images, fonts and source maps.

Does @nestjs/common use eval?

No: @nestjs/common doesn't call eval() anywhere in its published files.

Does @nestjs/common start other programs?

No: @nestjs/common doesn't use child_process anywhere in its published files.

Does @nestjs/common run an install script?

No: @nestjs/common has no preinstall, install or postinstall script in its package.json.

npm packages that use…

Every package we've indexed →

Search your own code like this

The same engine answers over your documents and repositories: exact text and regex, every match counted, from your code or your AI agent.

See StackGrep Engine