Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

computron

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

computron - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "computron",
"version": "1.0.1",
"version": "1.0.2",
"description": "",

@@ -5,0 +5,0 @@ "main": "addon.js",

@@ -51,1 +51,23 @@ [![Build Status](https://travis-ci.org/Inist-CNRS/computron.svg?branch=master)](https://travis-ci.org/Inist-CNRS/computron)

```
## API
**Computron.loadStylesheet(string, callback)**
```js
Computron.loadStylesheet('path/to/my/file.xsl', error => {
// ...
});
```
**Computron.apply(string, [obj], callback)**
```js
// With params
Computron.apply('path/to/my/file.xml', { name: 'John DOE' }, (error, result) => {
// ...
});
// Without params
Computron.apply('path/to/my/file.xml', (error, result) => {
// ...
});
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc