{"_id":"@americana/maplibre-gl-style-spec","_rev":"1-28fd66df565ee0a687d4037ae6de2ecc","name":"@americana/maplibre-gl-style-spec","dist-tags":{"latest":"17.1.0"},"versions":{"17.1.0":{"name":"@americana/maplibre-gl-style-spec","version":"17.1.0","keywords":["mapbox","mapbox-gl","mapbox-gl-js","maplibre","maplibre-gl","maplibre-gl-js"],"author":{"name":"MapLibre"},"license":"ISC","_id":"@americana/maplibre-gl-style-spec@17.1.0","maintainers":[{"name":"1ec5","email":"mxn@1ec5.org"},{"name":"zelonewolf","email":"zelonewolf@gmail.com"}],"homepage":"https://github.com/ZeLonewolf/maplibre-gl-js#readme","bugs":{"url":"https://github.com/ZeLonewolf/maplibre-gl-js/issues"},"bin":{"gl-style-format":"bin/gl-style-format.js","gl-style-migrate":"bin/gl-style-migrate.js","gl-style-validate":"bin/gl-style-validate.js"},"dist":{"shasum":"8e7c8c2c47da14131e53336abb91c4bca7c6dbb1","tarball":"https://registry.npmjs.org/@americana/maplibre-gl-style-spec/-/maplibre-gl-style-spec-17.1.0.tgz","fileCount":132,"integrity":"sha512-5l7zsQjivOm+48jkR0Gce2k/pFy4mNDwSU0gq7+kzmrjWaJ2WCIi9Fy8sIV1bR5MPnhHSnN79Y2sSrWciEgLHA==","signatures":[{"sig":"MEUCIBcQV/UFr1JZpOTUDOp2Pua6Cy6vKmg2Co3aV4/9lNpJAiEAmz1AdvRn90fNFZSNopwUurAsI/8wmjZdJrpr9rDM5Gc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1939614,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj4xPUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoUuA//SccBlbT/3ikKH/5YJ3WflUIiNZeMDkiqj3dEN+QC+d4PTsPU\r\ntzuIWobv8+31JfT1uM+QiDaKicKkgXZ4LU+1t+zf4qFUPItbG2aRHSTsXtLe\r\nUachYayXCAlkiqpTMQUAJiA6K9GiXdA7OUPkAM8nB/toxk5Z6QFzqG6mhQV2\r\nw0rs6K7wC1skK0Ssb/YC66LZGlcCf3Ehll7gmOKlI8Nhlek279G+0Q7J8Osb\r\n8cwSnHsVxl3HViZrR+NZmvZ69YETE19QYKGCqosiXdHOWdRg1QUuvDtui6BO\r\ne2FC2N+TfXS4aLmgn7h1oQUYDcNZhatS7YoErAWI5mCJpavhv2QxzCL8Gprt\r\nZLvkWLU9/NuD4G672vcbDPOxJdjw2TCJe0GLfrdfg/UPATo40dRCrrryTVBf\r\nvKlUQ2LhkDfnBauWZtAKVsVTDbiUrMT7e53oTC8DALHy9UQwW/NV1I5NB30D\r\nD/f5b+ZS06ChQvK6vlKQhWkWX73wFV+SYq5IB1yxKR1FyKE6XEIZv+hGJVka\r\n2TPujYL95JjM5XpSbfbcaxsyGSSqmNLOz1UGucdUcEVEqBS7L8EqbCIgIvup\r\n1YZlgsRtDMU0KNXbewuVnoHakE9Vpm9LnviAaCOHwt6nZlRO2rf3HJGzCyZg\r\nEzCpY8aNm40yhv3qY6UaHpp6IVqMQKinYT8=\r\n=5ECQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"49c53998b1ddded1a55438dbe687a79ba55732bd","scripts":{},"_npmUser":{"name":"zelonewolf","email":"zelonewolf@gmail.com"},"repository":{"url":"git+ssh://git@github.com/ZeLonewolf/maplibre-gl-js.git","type":"git"},"_npmVersion":"8.19.3","description":"a specification for maplibre gl styles","directories":{},"sideEffects":false,"_nodeVersion":"18.13.0","dependencies":{"rw":"^1.3.3","minimist":"^1.2.5","sort-object":"^0.3.2","csscolorparser":"~1.0.2","@mapbox/unitbezier":"^0.0.0","json-stringify-pretty-compact":"^2.0.0","@mapbox/jsonlint-lines-primitives":"~2.0.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/maplibre-gl-style-spec_17.1.0_1675826132149_0.8010425512525796","host":"s3://npm-registry-packages"}}},"time":{"created":"2023-02-08T03:15:32.082Z","modified":"2024-07-25T01:08:11.133Z","17.1.0":"2023-02-08T03:15:32.426Z"},"bugs":{"url":"https://github.com/ZeLonewolf/maplibre-gl-js/issues"},"author":{"name":"MapLibre"},"license":"ISC","homepage":"https://github.com/ZeLonewolf/maplibre-gl-js#readme","keywords":["mapbox","mapbox-gl","mapbox-gl-js","maplibre","maplibre-gl","maplibre-gl-js"],"repository":{"url":"git+ssh://git@github.com/ZeLonewolf/maplibre-gl-js.git","type":"git"},"description":"a specification for maplibre gl styles","maintainers":[{"email":"katieyang233@gmail.com","name":"ky233466"},{"email":"mxn@1ec5.org","name":"1ec5"},{"email":"zelonewolf@gmail.com","name":"zelonewolf"}],"readme":"# MapLibre GL style specification & utilities\n\nThis directory contains code and reference files that define the MapLibre GL style specification and provides some utilities for working with MapLibre styles.\n\n## npm package\n\nThe MapLibre GL style specification and utilities are published as a seperate npm\npackage so that they can be installed without the bulk of GL JS.\n\n    npm install @americana/maplibre-gl-style-spec\n\n## CLI Tools\n\nIf you install this package globally, you will have access to several CLI tools.\n\n    npm install @americana/maplibre-gl-style-spec --global\n\n### `gl-style-migrate`\n\nThis repo contains scripts for migrating GL styles of any version to the latest version\n(currently v8). Migrate a style like this:\n\n```bash\n$ gl-style-migrate bright-v7.json > bright-v8.json\n```\n\nTo migrate a file in place, you can use the `sponge` utility from the `moreutils` package:\n\n```bash\n$ brew install moreutils\n$ gl-style-migrate bright.json | sponge bright.json\n```\n\n### `gl-style-format`\n\n```bash\n$ gl-style-format style.json\n```\n\nWill format the given style JSON to use standard indentation and sorted object keys.\n\n### `gl-style-validate`\n\n```bash\n$ gl-style-validate style.json\n```\n\nWill validate the given style JSON and print errors to stdout. Provide a\n`--json` flag to get JSON output.\n\n","readmeFilename":"README.md"}