New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

create-xml-ls

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-xml-ls - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

4

package.json
{
"name": "create-xml-ls",
"version": "0.0.3",
"version": "0.0.4",
"description": "Another JS object to XML converter",

@@ -12,3 +12,3 @@ "author": "Pedro Tacla Yamada <tacla.yamada@gmail.com>",

"test": "npm run-script cc; npm run-script test-cc; mocha -R spec pub-test/*",
"pre-publish": "npm run-script cc"
"prepublish": "npm run-script cc"
},

@@ -15,0 +15,0 @@

@@ -1,6 +0,42 @@

# create-xml-pure [![Build Status](https://secure.travis-ci.org/yamadapc/create-xml-ls.png?branch=master)](http://travis-ci.org/yamadapc/create-xml-ls)
# create-xml-ls [![Build Status](https://secure.travis-ci.org/yamadapc/create-xml-ls.png?branch=master)](http://travis-ci.org/yamadapc/create-xml-ls)
Another JS object to XML converter
## Instalation
```npm install create-xml-ls```
## Example
### Javascript
```javascript
var createXml = require('create-xml-ls');
createXml({
something: {
is: 'very',
ugly: {
$attr: {
IMHO: 'it sucks'
}
but: 'sometimes we have to live with it'
}
}
});
/* =>
<?xml version="1.0" encoding="UTF-8"?>
<something>
<is>very</is>
<ugly IMHO="it sucks">
<but>sometimes we have to live with it</but>
</ugly>
</something>
(though indentation is off by default and can be toggled with the pretty
option)
*/
```
## License
Copyright (c) 2013 Pedro Yamada. Licensed under the MIT license.
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