
Product
Socket Brings Supply Chain Security to skills.sh
Socket is now scanning AI agent skills across multiple languages and ecosystems, detecting malicious behavior before developers install, starting with skills.sh's 60,000+ skills.
Convenience utility to print function implementations, properties and globals from the command-line.
Convenience utility to print function implementations and list properties available on objects & prototypes.
> nim
> npm install -g nim
> nim process
{ title: 'node',
version: 'v0.10.24',
moduleLoadList:
[ 'Binding evals',
'Binding natives',
...
etc
>
> nim process.versions
{ http_parser: '1.0',
node: '0.10.24',
v8: '3.14.5.9',
ares: '1.9.0-DEV',
uv: '0.10.21',
zlib: '1.2.3',
modules: '11',
openssl: '1.0.1e' }
>
> nim os
{ endianness: [Function],
hostname: [Function],
loadavg: [Function],
uptime: [Function],
freemem: [Function],
totalmem: [Function],
cpus: [Function],
type: [Function],
release: [Function],
networkInterfaces: [Function],
arch: [Function],
platform: [Function],
tmpdir: [Function],
tmpDir: [Function],
getNetworkInterfaces: [Function: deprecated],
EOL: '\n' }
>
Express's default export is the createApplication function.
> nim express
function createApplication() {
var app = function(req, res, next) {
app.handle(req, res, next);
};
mixin(app, proto);
mixin(app, EventEmitter.prototype);
app.request = { __proto__: req, app: app };
app.response = { __proto__: res, app: app };
app.init();
return app;
}
>
You can list properties of an object by appending a . to the name of
the object you want to inspect. This lists all the properties of the
current object and each object in its prototype chain.
> nim stream
function Stream() {
EE.call(this);
}
> nim stream.
[ [ 'super_',
'Readable',
'Writable',
'Duplex',
'Transform',
'PassThrough',
'Stream' ],
[] ]
}
>
The default export for stream is a constructor.
List the properties on stream.prototype with stream .:
> nim stream .
[ [ 'pipe' ],
[ 'setMaxListeners',
'emit',
'addListener',
'on',
'once',
'removeListener',
'removeAllListeners',
'listeners' ] ]
> nim stream.prototype. # equivalent to the above
[ [ 'pipe' ],
[ 'setMaxListeners',
'emit',
'addListener',
'on',
'once',
'removeListener',
'removeAllListeners',
'listeners' ] ]
>
MIT
FAQs
Convenience utility to print function implementations, properties and globals from the command-line.
The npm package nim receives a total of 25 weekly downloads. As such, nim popularity was classified as not popular.
We found that nim 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.

Product
Socket is now scanning AI agent skills across multiple languages and ecosystems, detecting malicious behavior before developers install, starting with skills.sh's 60,000+ skills.

Product
Socket now supports PHP with full Composer and Packagist integration, enabling developers to search packages, generate SBOMs, and protect their PHP dependencies from supply chain threats.

Security News
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.