
Security News
Happy Birthday, Shai-Hulud
It has been one year since Shai-Hulud made its first appearance on npm.
marklogic-typescript-definitions
Advanced tools
TypeScript Definition files for MarkLogic built-in functions
TypeScript definition files for MarkLogic server-side-javascript functions and types, available as npm an module.
For the node.js client definitions try the marklogic-node-typescript-definitions package
Install these files as node.js dependency using npm:
npm install marklogic-typescript-definitions --save
To use the definitions, modify your tsconfig.json file, adding the following entry to the files section:
node_modules/marklogic-typescript-definitions/ts/index.d.ts
So, for example, your tsconfig.json file might look like:
{
"compilerOptions": {
"module": "commonjs",
"target": "es5",
},
"files": [
"./lib/myCode.ts",
"./node_modules/marklogic-typescript-definitions/ts/index.d.ts"
]
}
Below are two suggested TypeScript editors:
atom-typescript plugin.The git repository (and npm package) contains the built definitions. If you'd like to re-build them, perform the following:
npm installgulp (may take a few minutes)Note: you likely want to override ml-host, ml-user, and such. It runs by default as if you typed:
gulp --ml-host=ml8-ml1 --ml-port=8000 --ml-user=admin --ml-pass=admin
Before trying to build, remove the following xml files (as some of these are xquery only modules):
FAQs
TypeScript Definition files for MarkLogic built-in functions
The npm package marklogic-typescript-definitions receives a total of 12 weekly downloads. As such, marklogic-typescript-definitions popularity was classified as not popular.
We found that marklogic-typescript-definitions demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.