Comparing version 1.1.4 to 1.1.5
{ | ||
"name": "mf-parser", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "", | ||
@@ -11,3 +11,3 @@ "main": "src/index.js", | ||
"type": "git", | ||
"url": "git+https://github.com/cheminfo-js/mf-parser.git" | ||
"url": "git+https://github.com/cheminfo/mf-parser.git" | ||
}, | ||
@@ -18,9 +18,9 @@ "keywords": [], | ||
"bugs": { | ||
"url": "https://github.com/cheminfo-js/mf-parser/issues" | ||
"url": "https://github.com/cheminfo/mf-parser/issues" | ||
}, | ||
"homepage": "https://github.com/cheminfo-js/mf-parser/tree/master/packages/mf-parser#readme", | ||
"homepage": "https://github.com/cheminfo/mf-parser/tree/master/packages/mf-parser#readme", | ||
"dependencies": { | ||
"atom-sorter": "^1.1.4", | ||
"chemical-elements": "^1.1.4", | ||
"chemical-groups": "^1.0.1" | ||
"atom-sorter": "^1.1.5", | ||
"chemical-elements": "^1.1.5", | ||
"chemical-groups": "^1.0.2" | ||
}, | ||
@@ -30,3 +30,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "484945585a0dfec6e33936e3367df6f54a6a9d3d" | ||
"gitHead": "3d54e43ef65fd47d783aa3e2700ff53a9da46bc0" | ||
} |
# mf-parser | ||
[![NPM version][npm-image]][npm-url] | ||
[![npm download][download-image]][download-url] | ||
[![NPM version][npm-image]][npm-url] | ||
[![npm download][download-image]][download-url] | ||
. | ||
## Installation | ||
@@ -13,3 +12,3 @@ | ||
## [API Documentation](https://cheminfo-js.github.io/mf-parser/) | ||
## [API Documentation](https://cheminfo.github.io/mf-parser/) | ||
@@ -24,2 +23,3 @@ ## Example | ||
You may also be interested to parse first the MF and then retrieve display representation | ||
```js | ||
@@ -39,6 +39,5 @@ const MFParser = require('mf-parser'); | ||
## License | ||
[MIT](./LICENSE) | ||
[MIT](./LICENSE) | ||
@@ -45,0 +44,0 @@ [npm-image]: https://img.shields.io/npm/v/mf-parser.svg?style=flat-square |
@@ -108,3 +108,3 @@ 'use strict'; | ||
expect(html).toBe('C<sub>6</sub>H<sub>15</sub>N•HCl'); | ||
expect(html).toBe('C<sub>6</sub>H<sub>15</sub>N • HCl'); | ||
@@ -111,0 +111,0 @@ let info = mf.getInfo(); |
@@ -98,3 +98,3 @@ 'use strict'; | ||
], | ||
result: [{ kind: 'text', value: 'H•Cl' }], | ||
result: [{ kind: 'text', value: 'H • Cl' }], | ||
}, | ||
@@ -101,0 +101,0 @@ { |
@@ -81,3 +81,3 @@ 'use strict'; | ||
if (result.kind === Format.TEXT) { | ||
result.value += '•'; | ||
result.value += ' • '; | ||
} else { | ||
@@ -84,0 +84,0 @@ result = { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63633
1
1
45
Updatedatom-sorter@^1.1.5
Updatedchemical-elements@^1.1.5
Updatedchemical-groups@^1.0.2