Catalog npm
Back to packageRELEASE DETAILS

1.1.0

npm

6-mils

A JS library for sending, receiving, and parsing cXML messages.

commercecxmlxml
Published5 Sept 2020
Direct dependencies17
Transitive dependenciesNot calculated

README

Current package documentation

6-mils

Linux Build Status Windows Build Status Coverage Status

A Node.js library for creating, sending, and parsing cXML messages. Note that this library is not a complete implementation of all cXML features. It is currently designed to be used as a client (buyer to seller) instead of a server (seller to buyer).

This project adheres to the standard coding style (click below for more information):

js-standard-style

Getting Started

This library contains classes for several different types of cXML messages. Some of them are intended for parsing, and some for creating/sending:

PunchOutSetupRequest

This class is used to create and send a request to initiate a new Punch Out session.

PunchOutOrderMessage

This class is used to parse incoming PunchOutOrderMessage cXML documents.

OrderRequest

This class is used to create and send purchase orders.

Examples

Please refer to the contents of test/functional/ for examples of this library in use.

Technical Documentation

Please refer to the docs/ sub-folder. There are separate entries for each object in this library.

Name

While dreaming up a name for this module, I thought "cx" could be vocalized as "six". "ml" could be considered the same as "mL" (milliliter), which in some locations is said as "mil". It could also mean that this library is only 0.006" thick. Either way, I think it sounds more catchy than "cxml".

License

Please refer to LICENSE.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 17

Native requirements
17 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
debug
Environment
{
  "local_name": "debug",
  "alias": false,
  "peer_metadata": null
}
^4.1.1runtime
fontoxpath
Environment
{
  "local_name": "fontoxpath",
  "alias": false,
  "peer_metadata": null
}
^3.13.2runtime
got
Environment
{
  "local_name": "got",
  "alias": false,
  "peer_metadata": null
}
^9.6.0runtime
is-plain-obj
Environment
{
  "local_name": "is-plain-obj",
  "alias": false,
  "peer_metadata": null
}
^2.1.0runtime
lodash.merge
Environment
{
  "local_name": "lodash.merge",
  "alias": false,
  "peer_metadata": null
}
^4.6.2runtime
luxon
Environment
{
  "local_name": "luxon",
  "alias": false,
  "peer_metadata": null
}
^1.24.1runtime
nunjucks
Environment
{
  "local_name": "nunjucks",
  "alias": false,
  "peer_metadata": null
}
^3.2.1runtime
slimdom-sax-parser
Environment
{
  "local_name": "slimdom-sax-parser",
  "alias": false,
  "peer_metadata": null
}
^1.3.0runtime
ulid
Environment
{
  "local_name": "ulid",
  "alias": false,
  "peer_metadata": null
}
^2.3.0runtime
whatwg-url
Environment
{
  "local_name": "whatwg-url",
  "alias": false,
  "peer_metadata": null
}
^7.1.0runtime
chai
Environment
{
  "local_name": "chai",
  "alias": false,
  "peer_metadata": null
}
^4.2.0development
chai-as-promised
Environment
{
  "local_name": "chai-as-promised",
  "alias": false,
  "peer_metadata": null
}
^7.1.1development
coveralls
Environment
{
  "local_name": "coveralls",
  "alias": false,
  "peer_metadata": null
}
^3.0.11development
mocha
Environment
{
  "local_name": "mocha",
  "alias": false,
  "peer_metadata": null
}
^7.1.1development
nyc
Environment
{
  "local_name": "nyc",
  "alias": false,
  "peer_metadata": null
}
^15.0.0development
standard
Environment
{
  "local_name": "standard",
  "alias": false,
  "peer_metadata": null
}
^14.3.3development
w3c-xml-validator
Environment
{
  "local_name": "w3c-xml-validator",
  "alias": false,
  "peer_metadata": null
}
^1.1.0development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-RFbd+fj4D2lH4KQPVHIuV5gGwp+Kni6hJo2BJWXfxcUNVaKMPmwRYQ4+Nln30jgKr0x24H/z0F4J7rbXkimNZQ==",
  "shasum": "e14bc6ea4d5fe9ff76b10111b1ede0ab8bd9a305",
  "tarball": "https://registry.npmjs.org/6-mils/-/6-mils-1.1.0.tgz",
  "fileCount": 51,
  "unpackedSize": 230307,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUuaqCRA9TVsSAnZWagAAbkQQAIElIuvRNbGJrwESTnAh\nSYYU1oGzmMnJSAIbhv4/YqNI9ojrd/AnfHyd4FLaT64saJkpP7vkVs7e6tWV\nWVrINooETm0KCQPkB7By+0Em3DxKvccRzb3AGElEuI/qt8pyvP1TtWCn/oS5\ni5dw0JHfUzVcl0uiFa0X5SZZ1KlhI3NdFi7jjcIpfUSe0DegyuGC9AKGqPCi\nBz1wa9O65kphuX51PwGprKSXfJCmlGE5NAvF/yHdbqmkvcgdkSpNknS2H4S7\nhJ9eYX2BwTFijBkiwLdJfjHTto/nHUAPHa0C5tamuabswr+z+vu7mBgkY6jM\nWB3GLiuCeDdvZ6vGDnLAOpLsLrk2PIFOJtzNpni1TYXBY8ivVN30OYYC8+Xb\nltzgqX2HJo0/X7GD8hR+BPjM/xx5AZebApc0a/zXkqU/CfHhczJ67BDQPN8D\nj520OJRZYQVA4NCS7ysJO9r4TwUWtdzGaGQYnEJlj71+1qRnWJszNKZiQmgK\nDij5dHVjrZiQmYarQAIYncGSDURIowHBKe1I16SZsIRijIptJSLaE6U/6pGi\nKuB8hcd7kujukepp45A/COwV5/oJu4cpS53cdFNpigpVcOPzQ87qHfm2jr6G\nAf+oDmjCd9byOvT+LhdKBDnVNX+v5U1/DLJ2nDXIS/UwBSZ7z2fwPGy6/1zb\n9Ucu\r\n=ka6h\r\n-----END PGP SIGNATURE-----\r\n",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEUCIQC3RvwdBFs8xHWzn5c5o9BQCb/WaEpRKo4zbxWZ31EOhgIgN7q5ZqGvco4twwvpR0N/0xHbwgK1atQGstL7wpgKOYc="
    }
  ]
}

Repository

PENDING
dpassarelli/6-mils

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 20:43 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:9d2f1505d748aa699ae484769549704d353d4454849ee160ec4bc3ed57159fbb

Other collected versions

2.1.04 Nov2.0.022 Oct1.1.14 Oct1.0.11 Sept1.0.022 MayView all collected versions →