
Security Fundamentals
Obfuscation 101: Unmasking the Tricks Behind Malicious Code
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
@hubspot/app-functions-dev-server
Advanced tools
A tool for testing HubSpot private app functions locally
Serverless functions provide a way for private apps to run server-side code on HubSpot's infrastructure, typically to interact with HubSpot or third-party APIs on behalf of the app's React frontend that runs in a user's browser. Serverless functions for private apps are also called app functions.
The app functions dev server allows for app functions to run locally on a developer's machine instead of on HubSpot. This is useful for quick iterative development, epsecially when also running the React extension in local dev mode. However, there may differences between local and production execution.
app.json
file..env
file in the app.functions
directory. This applies to the PRIVATE_APP_ACCESS_TOKEN, too. See dotenv for more information about .env files and their variants.CAUTION: Add the pattern ".env*" to your
.gitignore
file so that secrets do not get committed to a repository by mistake. Hidden files are automatically ignored when using the CLIupload
andwatch
commands.
app-functions-dev-server
runs as part of the ui-extensions-dev-server
. To run and develop this codebase, follow the contribution guidelines in the dev server repository.
FAQs
A tool for testing HubSpot private app functions locally
The npm package @hubspot/app-functions-dev-server receives a total of 4,486 weekly downloads. As such, @hubspot/app-functions-dev-server popularity was classified as popular.
We found that @hubspot/app-functions-dev-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
Security News
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.
Security News
Biome's v2.0 beta introduces custom plugins, domain-specific linting, and type-aware rules while laying groundwork for HTML support and embedded language features in 2025.