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

xy-parser

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xy-parser - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

2

bower.json
{
"name": "xy-parser",
"version": "1.1.0",
"version": "1.2.0",
"description": "Parse a text-file and convert it to an array of XY points",

@@ -5,0 +5,0 @@ "keywords": [

{
"name": "xy-parser",
"version": "1.1.0",
"version": "1.2.0",
"description": "Parse a text-file and convert it to an array of XY points",

@@ -5,0 +5,0 @@ "keywords": [

@@ -11,5 +11,8 @@ # XY text file parser

## Example of use:
```
var result=XYParser.parse(realValue, {normalize: true})
var parseXY = require('xy-parser')
var result=parseXY(realValue, {normalize: true})
```

@@ -16,0 +19,0 @@

'use strict';
module.exports.parse = function (text, options) {
function parseXY (text, options) {
var options = options || {};

@@ -64,1 +64,3 @@ var lines = text.split(/[\r\n]+/);

parseXY.parse = parseXY; // keep compatibility
module.exports = parseXY; // direct export
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