{"_id":"@damjack/elm-newrelic-nreum.js","_rev":"1-3e353b9432eb2d32163c6e4c1d3c73c7","name":"@damjack/elm-newrelic-nreum.js","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@damjack/elm-newrelic-nreum.js","version":"1.0.0","description":"Typescript library to wrap NewRelic NREUM for elm-newrelic-nreum Elm package","main":"dist/elm-newrelic-nreum.cjs.js","module":"dist/elm-newrelic-nreum.esm.js","scripts":{"docs":"typedoc src --out docs","clean":"rimraf dist","test":"jest --config jestconfig.json","dev":"rollup -c -w","prebuild":"yarn clean","build":"rollup -c","preversion":"run build","format":"prettier --write '{src,tests}/**/*.ts'","lint":"eslint -c .eslintrc.js --ext .ts src/","lint:fix":"eslint -c .eslintrc.js --ext .ts src/ --fix"},"repository":{"type":"git","url":"git+https://github.com/damjack/elm-newrelic.git"},"keywords":["NewRelic","browser api","SPA api","Nreum"],"author":{"name":"Damiano Giacomello","email":"giacomello.damiano@gmail.com"},"license":"BSD-3-Clause","homepage":"https://github.com/damjack/elm-newrelic/packages/js#readme","engines":{"node":">=16.14.0"},"devDependencies":{"@rollup/plugin-commonjs":"^22.0.2","@rollup/plugin-node-resolve":"^13.3.0","@rollup/plugin-typescript":"^8.5.0","@types/elm":"^0.19.1","@types/jest":"^27.5.2","@typescript-eslint/eslint-plugin":"^5.48.0","@typescript-eslint/parser":"^5.48.0","eslint":"^7.32.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-airbnb-typescript":"^12.3.1","eslint-config-prettier":"^8.6.0","eslint-plugin-import":"^2.26.0","eslint-plugin-jsdoc":"^39.6.4","eslint-plugin-prefer-arrow":"^1.2.3","eslint-plugin-prettier":"^4.2.1","jest":"^27.5.1","prettier":"^2.8.1","rimraf":"^3.0.2","rollup":"^2.79.1","ts-jest":"^27.1.5","ts-loader":"^8.0.17","tslib":"^2.4.1","typedoc":"^0.22.18","typedoc-github-wiki-theme":"^0.5.1","typedoc-plugin-markdown":"^3.14.0","typescript":"^4.9.4"},"dependencies":{"@newrelic/browser-agent":"^0.0.9","@types/compression":"^1.7.2","@types/loader-utils":"^2.0.3","@types/newrelic":"^7.0.3","@types/node":"^18.11.18","@types/object-hash":"^3.0.2","eslint-plugin-sort-imports-es6-autofix":"^0.6.0","eslint-plugin-sort-keys-fix":"^1.1.2","eslint-plugin-tsdoc":"^0.2.17","eslint-plugin-typescript-sort-keys":"^2.1.0","newrelic":"^8.13.2"},"bugs":{"url":"https://github.com/damjack/elm-newrelic/issues"},"directories":{"doc":"docs"},"gitHead":"5439ffd31c358bda7711d3611dbe03afe6ccf0f5","_id":"@damjack/elm-newrelic-nreum.js@1.0.0","_nodeVersion":"17.2.0","_npmVersion":"8.1.4","dist":{"integrity":"sha512-T3uQFX1ATYFnht0XsJcGPk/4iHSaKcuVn2oH+tfBwEmI+Xc66eVTYCRIlrr2uOMQkZCB5p5Xn6d45cvjE+ddVg==","shasum":"39df6c50bee020dfc8e77175973007507d007903","tarball":"https://registry.npmjs.org/@damjack/elm-newrelic-nreum.js/-/elm-newrelic-nreum.js-1.0.0.tgz","fileCount":3,"unpackedSize":4726,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDsMLUYydnfEQoZundU5jZeewmfJV+CyHl4wcx74l2AsAiEAoCGeXVzWL9jhxj+5/lhKeilhzX+Auz05lcL8ga9lLjc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkDO1tACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoxMw//fL15Tkl8vFueB3GxoIVsQKJjUmcYVL2wP38tQ22bPPNixsUF\r\nX7ZB7nMnm+IYZaazzLkHH86/u/jOx9sPz8k3sPATRoS3lDR4qd3o76vZ+NEL\r\nkoL684roHdQy3bBAH+A6ejqtcWwREm7JLSvI99E1i9iyr0Ir53czXtdf40lz\r\nuh496rZ9u3YE7/dgyboGrQIwfWwnbV3sQT7h2qcjvv25Az5oeP3vK4D6u7XM\r\nnNymOtz0fpk45lAu/uMXGatzQPosvmCPvNZFzAPKcvvk774O/1hatNdEOVfA\r\nT5TNnjjKTh4UDw7S8auhlZfFHQRJ8dXxkvvqiib7NJjc/kvFHcyHO4glX0Cb\r\nJX68yEkOgPVK29SllOj67dBJkTTl2DY8PWEfnXlhz4W/hcy3cm6QLs0zcft2\r\noTt7BNBYecrsjefnJFlSp5VOJvuNYJjVS2/SZhBHjYaYgbzoji5Fb66maJd2\r\nUfvV5gtU023e1ngAUM87J4Hk1ZCr0fKHp8b1Sk7uEyp2p2gi54MrsRsH5JmK\r\ndmEi+cJBrrU1o6MEdUe4KHgxgyWBz1+gALzO4ZKW+vwQK28BQROof3HmYfqD\r\nbgXiZH5Y/az9ax54gYMr2gk96hGDiidnokmwXMuHTyt6P4ZUWPeDSRBO3/6/\r\nUyW16OVZBZcfAw0cu9Zc/hBwm+TXJpPnss0=\r\n=mCAz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"damjack","email":"giacomello.damiano@gmail.com"},"maintainers":[{"name":"damjack","email":"giacomello.damiano@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elm-newrelic-nreum.js_1.0.0_1678568813438_0.7369902193640956"},"_hasShrinkwrap":false},"1.0.1":{"name":"@damjack/elm-newrelic-nreum.js","version":"1.0.1","description":"Typescript library to wrap NewRelic NREUM for elm-newrelic-nreum Elm package","main":"dist/elm-newrelic-nreum.cjs.js","module":"dist/elm-newrelic-nreum.esm.js","scripts":{"docs":"typedoc src --out docs","clean":"rimraf dist","test":"jest --config jestconfig.json","dev":"rollup -c -w","prebuild":"yarn clean","build":"rollup -c","preversion":"run build","format":"prettier --write '{src,tests}/**/*.ts'","lint":"eslint -c .eslintrc.js --ext .ts src/","lint:fix":"eslint -c .eslintrc.js --ext .ts src/ --fix"},"repository":{"type":"git","url":"git+https://github.com/damjack/elm-newrelic.git"},"keywords":["NewRelic","browser api","SPA api","Nreum"],"author":{"name":"Damiano Giacomello","email":"giacomello.damiano@gmail.com"},"license":"BSD-3-Clause","homepage":"https://github.com/damjack/elm-newrelic/packages/js#readme","devDependencies":{"@rollup/plugin-commonjs":"^22.0.2","@rollup/plugin-node-resolve":"^13.3.0","@rollup/plugin-typescript":"^8.5.0","@types/elm":"^0.19.1","@types/jest":"^27.5.2","@typescript-eslint/eslint-plugin":"^5.48.0","@typescript-eslint/parser":"^5.48.0","eslint":"^7.32.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-airbnb-typescript":"^12.3.1","eslint-config-prettier":"^8.6.0","eslint-plugin-import":"^2.26.0","eslint-plugin-jsdoc":"^39.6.4","eslint-plugin-prefer-arrow":"^1.2.3","eslint-plugin-prettier":"^4.2.1","jest":"^27.5.1","prettier":"^2.8.1","rimraf":"^3.0.2","rollup":"^2.79.1","ts-jest":"^27.1.5","ts-loader":"^8.0.17","tslib":"^2.4.1","typedoc":"^0.22.18","typedoc-github-wiki-theme":"^0.5.1","typedoc-plugin-markdown":"^3.14.0","typescript":"^4.9.4"},"dependencies":{"@newrelic/browser-agent":"^0.0.9","@types/compression":"^1.7.2","@types/loader-utils":"^2.0.3","@types/newrelic":"^7.0.3","@types/node":"^18.11.18","@types/object-hash":"^3.0.2","eslint-plugin-sort-imports-es6-autofix":"^0.6.0","eslint-plugin-sort-keys-fix":"^1.1.2","eslint-plugin-tsdoc":"^0.2.17","eslint-plugin-typescript-sort-keys":"^2.1.0","newrelic":"^8.13.2"},"bugs":{"url":"https://github.com/damjack/elm-newrelic/issues"},"directories":{"doc":"docs"},"gitHead":"ba068bc03853ef2fada4685c9b02a3f41ecbfc7e","_id":"@damjack/elm-newrelic-nreum.js@1.0.1","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-N3JxD2ibjWIhbV8eM70ToXTeG5Nz5P2KUEzaGx3ZAmW/e8oIBi1Zb0rAYxEI1m3dqjmy2+0Go6e1Ll/4IDfBcw==","shasum":"c02889e198d8e89070bafb32e2f46091ff996208","tarball":"https://registry.npmjs.org/@damjack/elm-newrelic-nreum.js/-/elm-newrelic-nreum.js-1.0.1.tgz","fileCount":5,"unpackedSize":21850,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFZd00dP70jhA1gCtt+0YLZcYTYvDfgSwslBIT3JtAAfAiEAzKYKYbDqzKL7wZlKlaTf2iOaMgf7smC2v/slFLd4MFU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkDPAiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrOjA//enqu2NkjOXP2T06eD/rmfYLiHeOb7m/QRHqhTAzoHWros/J3\r\nIfTOJnBFPOv80HFh6mX4eC69SOxhGSGucNBQOErOTlir2vVLtH9Fk4FaA8+R\r\n91AFECADledqqqAZE3lZBZKDtZG04IOf1a710nLknX1+65iL+AqZzSVxJXyI\r\ny3irdQxop7tC6dOQh6JIhwotISLmBI+bXVKU/fC5ShBtwdqQHTgwT6itTkV2\r\nUEC1jTZQQEahOZW0HKd/CpPGHCfYu7iya8tQ7cg19pZNUNc5ouSOWp7Lfm6w\r\n2MX7IM0qWUgG8A518d52+lTeAkmP+IRUyjbtk7Bc6kYKNQmbIoccgqZnuhG8\r\njCinIAAlJ3SKswHwnXqMizpw6KhcwCHCqteDI8SEg1BU1w6ONCg6SRMB88P+\r\nCz/533LH1BCZZdZBzLUOacyi12GurVDJ8WQ7U4VU9Gdn0bVs2f4XnhJn8JMY\r\nLrI9HtC7+QIPdTWH9BOh+jKgssMm+qqydscYsCgzOHopNncMDRiUR6Oz3aMR\r\nMqyKhwFzyEY0V78yv2ZO0nJeFgkyWga5uCuBv9SUyNp5h995ezkFCKiE/H5g\r\ndYRwbV2H7Yr73Z7Ndql+n6lgruhWf8stJs4xRG090zv6KvVHAfn0tc3T1ilr\r\nY1srpVNVw1wM8G9in7dd0x+OjTcofsM16n0=\r\n=x3xH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"damjack","email":"giacomello.damiano@gmail.com"},"maintainers":[{"name":"damjack","email":"giacomello.damiano@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elm-newrelic-nreum.js_1.0.1_1678569506606_0.07793968311720323"},"_hasShrinkwrap":false}},"time":{"created":"2023-03-11T21:06:53.378Z","1.0.0":"2023-03-11T21:06:53.614Z","modified":"2023-03-11T21:18:26.872Z","1.0.1":"2023-03-11T21:18:26.794Z"},"maintainers":[{"name":"damjack","email":"giacomello.damiano@gmail.com"}],"description":"Typescript library to wrap NewRelic NREUM for elm-newrelic-nreum Elm package","homepage":"https://github.com/damjack/elm-newrelic/packages/js#readme","keywords":["NewRelic","browser api","SPA api","Nreum"],"repository":{"type":"git","url":"git+https://github.com/damjack/elm-newrelic.git"},"author":{"name":"Damiano Giacomello","email":"giacomello.damiano@gmail.com"},"bugs":{"url":"https://github.com/damjack/elm-newrelic/issues"},"license":"BSD-3-Clause","readme":"# NewRelic JS Ports reader\n\n## Purpose\n\nElmNewRelic JS library is a wrapper around NewRelic Nreum SDK that support ELM via Ports and standardize the methods that it use to register events\n\n## Import\n\n```js\nimport * as elmNewRelic from 'elm-newrelic-nreum';\n\nconst elmApp = Elm.Main.init({\n  node: document.getElementById('root'),\n  flags: {},\n});\n\nelmNewRelic.cspEvent();\nelmNewRelic.elmPortsToJS(elmApp);\n```\n\n## Commands\n\nProduction build:\n```sh\n$ yarn build\n```\n\nRun development:\n```sh\n$ yarn dev\n```\n\nFor linting or format code, run:\n```sh\n$ yarn format\n$ yarn lint\n```\n","readmeFilename":"README.md"}