
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
stencila-libcore
Advanced tools
[](http://github.com/badges/stability-badges) [](https://codecov.io/gh/stencila/libcore) [
stencila/libcore
: core function libraryThis the Stencila Core Library, a library of functions that are built in to Stencila's Mini language. It is to Stencila what Excel functions are to Excel, the Python Standard Library is to Python, the R Base Package is to R, etc, etc.
Want to see a list of functions currently implemented in Stencila? Check out our list of functions here.
Want to contribute a function to Libcore? More on contributing to Libcore here.
Stencila functions can be implemented, and used, in a variety of languages. Mini is intentionally simple. Instead of trying to be a complete programming language, it focuses on being a "glue" between other languages. This allows functions to be implemented using the best language for the job. And when a function is implemented in multiple languages, this approach allows for the optimization of function calls based on implementation speed and data location. Learn more about Mini here.
meta
A folder for cordinating design and implementations of functions across langages.
Javascript
Create the Javascript function in the relevant ./src/*.js
file with the same name as the function e.g. function sum(x)...
for sum.fun.xml
.
If your implementation overloads parameter types then you will need to handle that in the implementation.
Currently, the following are available in the global environment:
Run all tests in Node.js:
npm test
Run all tests in the browser:
npm run test-browser
then open test/index.html
.
To watch source code and run tests on changes use the -w
flag to make.js
node make test -w
node make test:browser -w
You can try out functions in the browser developer console by building the distribution:
npm run build
then open index.html
.
FAQs
[](http://github.com/badges/stability-badges) [](https://codecov.io/gh/stencila/libcore) [
The npm package stencila-libcore receives a total of 11 weekly downloads. As such, stencila-libcore popularity was classified as not popular.
We found that stencila-libcore demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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 News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.