Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
return-value
Advanced tools
The all on in one npm package for all your input = output needs. This package simply returns whatever you pass into it. Can be used as a stub for a function that should return the values passed into it.
We have 100% test coverage. This way we can guarantee that this function behaves exactly as expected.
npm install return-value
import { returnValue } from "return-value";
returnValue("hello"); // returns "hello"
returnValue(2); // returns 2
returnValue<number[]>([1, 2, 3, 4]); // returns [1, 2, 3, 4]
returnValue(returnValue); // returns ValueFunction
returnValue<Function>(returnValue); // returns Function
returnValue("💩"); // returns "💩"
FAQs
The all on in one npm package for all your input = output needs. This package simply returns whatever you pass into it. Can be used as a stub for a function that should return the values passed into it.
The npm package return-value receives a total of 0 weekly downloads. As such, return-value popularity was classified as not popular.
We found that return-value demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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 News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.