x3p.js is a JavaScript library for working with XML 3D Surface Profile (X3P) files. This library was spun off from the development of FiX3P with the intent to use it in other JavaScript projects. Inspired by the x3ptools package for R. This project follows semver and has not yet reached its first major release, so please be aware of backwards incompatible API changes until then.
Install x3p.js using npm or yarn:
npm i --save x3p.js
See the documentation website