{"_id":"get-system-fonts","_rev":"2801901","name":"get-system-fonts","description":"List full paths to all system fonts","dist-tags":{"latest":"2.0.2"},"maintainers":[{"name":"princjef","email":"princjef@gmail.com"}],"time":{"modified":"2022-08-05T03:14:04.000Z","created":"2018-04-28T23:42:03.667Z","2.0.2":"2020-06-12T06:24:48.795Z","2.0.1":"2019-04-23T05:38:40.912Z","2.0.0":"2018-07-30T01:00:33.746Z","1.0.0":"2018-04-28T23:42:03.667Z"},"users":{},"author":{"name":"Jeff Principe","email":"princjef@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/princjef/get-system-fonts.git"},"versions":{"2.0.2":{"name":"get-system-fonts","version":"2.0.2","description":"List full paths to all system fonts","homepage":"https://github.com/princjef/get-system-fonts#readme","repository":{"type":"git","url":"git+https://github.com/princjef/get-system-fonts.git"},"bugs":{"url":"https://github.com/princjef/get-system-fonts/issues"},"engines":{"node":">8.0.0"},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"commit":"commit","lint":"tslint --project tsconfig.json --fix","clean":"rimraf dist","prebuild":"npm run clean && npm run lint","build":"tsc","watch":"tsc -w","pretest":"npm run build","test":"nyc ava --serial dist/**/*.spec.js","pretest-nocover":"npm run build","test-nocover":"ava --serial dist/**/*.spec.js","show-coverage":"opener ./coverage/index.html","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","prerelease":"npm run build","release":"semantic-release"},"keywords":["font","system","ttf","otf","file"],"author":{"name":"Jeff Principe","email":"princjef@gmail.com"},"license":"MIT","devDependencies":{"@commitlint/cli":"^7.5.2","@commitlint/config-conventional":"^7.5.0","@commitlint/prompt-cli":"^7.5.0","@commitlint/travis-cli":"^7.5.2","@semantic-release/changelog":"^3.0.2","@semantic-release/git":"^7.0.8","@semantic-release/github":"^5.2.10","@semantic-release/npm":"^5.1.4","@types/node":"^8.10.46","@types/sinon":"^7.0.11","ava":"^1.4.1","codecov":"^3.3.0","husky":"^1.3.1","nyc":"^13.3.0","opener":"^1.5.1","rimraf":"^2.6.3","semantic-release":"^15.13.3","sinon":"^7.3.2","tslint":"^5.16.0","tslint-config-standard":"^8.0.1","typescript":"^3.4.4"},"dependencies":{},"nyc":{"sourceMap":true,"reporter":["text","html","json"],"include":["dist/**/*.js"],"exclude":["dist/**/*.spec.*","dist/**/*.d.ts","dist/**/*.map*"],"check-coverage":true,"lines":100,"statements":100,"functions":100,"branches":100,"watermarks":{"lines":[100,100],"statements":[100,100],"functions":[100,100],"branches":[100,100]}},"commitlint":{"extends":["@commitlint/config-conventional"]},"husky":{"hooks":{"commit-msg":"commitlint -e $HUSKY_GIT_PARAMS"}},"release":{"verifyConditions":["@semantic-release/changelog","@semantic-release/github","@semantic-release/npm","@semantic-release/git"],"prepare":[{"path":"@semantic-release/changelog","changelogFile":"CHANGELOG.md"},"@semantic-release/npm","@semantic-release/git"],"publish":["@semantic-release/npm","@semantic-release/github"],"success":["@semantic-release/github"],"fail":["@semantic-release/github"]},"gitHead":"232af282ee66c51c0335a01ff07e759d53ce8ddd","_id":"get-system-fonts@2.0.2","_npmVersion":"6.5.0","_nodeVersion":"8.17.0","_npmUser":{"name":"princjef","email":"princjef@gmail.com"},"dist":{"shasum":"7ada3cc41322daf17c204a6f07c6588341cbc9cb","size":7995,"noattachment":false,"key":"/get-system-fonts/-/get-system-fonts-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/get-system-fonts/download/get-system-fonts-2.0.2.tgz"},"maintainers":[{"name":"princjef","email":"princjef@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-system-fonts_2.0.2_1591943088645_0.08317017984475639"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T12:51:38.489Z","publish_time":1591943088795,"_cnpm_publish_time":1591943088795},"2.0.1":{"name":"get-system-fonts","version":"2.0.1","description":"List full paths to all system fonts","homepage":"https://github.com/princjef/get-system-fonts#readme","repository":{"type":"git","url":"git+https://github.com/princjef/get-system-fonts.git"},"bugs":{"url":"https://github.com/princjef/get-system-fonts/issues"},"engines":{"node":">8.0.0"},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"commit":"commit","lint":"tslint --project tsconfig.json --fix","clean":"rimraf dist","prebuild":"npm run clean && npm run lint","build":"tsc","watch":"tsc -w","pretest":"npm run build","test":"nyc ava --serial dist/**/*.spec.js","pretest-nocover":"npm run build","test-nocover":"ava --serial dist/**/*.spec.js","show-coverage":"opener ./coverage/index.html","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","prerelease":"npm run build","release":"semantic-release"},"keywords":["font","system","ttf","otf","file"],"author":{"name":"Jeff Principe","email":"princjef@gmail.com"},"license":"MIT","devDependencies":{"@commitlint/cli":"^7.5.2","@commitlint/config-conventional":"^7.5.0","@commitlint/prompt-cli":"^7.5.0","@commitlint/travis-cli":"^7.5.2","@semantic-release/changelog":"^3.0.2","@semantic-release/git":"^7.0.8","@semantic-release/github":"^5.2.10","@semantic-release/npm":"^5.1.4","@types/node":"^8.10.46","@types/sinon":"^7.0.11","ava":"^1.4.1","codecov":"^3.3.0","husky":"^1.3.1","nyc":"^13.3.0","opener":"^1.5.1","rimraf":"^2.6.3","semantic-release":"^15.13.3","sinon":"^7.3.2","tslint":"^5.16.0","tslint-config-standard":"^8.0.1","typescript":"^3.4.4"},"dependencies":{},"nyc":{"sourceMap":true,"reporter":["text","html","json"],"include":["dist/**/*.js"],"exclude":["dist/**/*.spec.*","dist/**/*.d.ts","dist/**/*.map*"],"check-coverage":true,"lines":100,"statements":100,"functions":100,"branches":100,"watermarks":{"lines":[100,100],"statements":[100,100],"functions":[100,100],"branches":[100,100]}},"commitlint":{"extends":["@commitlint/config-conventional"]},"husky":{"hooks":{"commit-msg":"commitlint -e $HUSKY_GIT_PARAMS"}},"release":{"verifyConditions":["@semantic-release/changelog","@semantic-release/github","@semantic-release/npm","@semantic-release/git"],"prepare":[{"path":"@semantic-release/changelog","changelogFile":"CHANGELOG.md"},"@semantic-release/npm","@semantic-release/git"],"publish":["@semantic-release/npm","@semantic-release/github"],"success":["@semantic-release/github"],"fail":["@semantic-release/github"]},"gitHead":"a51087490d90d92a67edde578f42ff56fa58cfc3","_id":"get-system-fonts@2.0.1","_npmVersion":"6.5.0","_nodeVersion":"8.16.0","_npmUser":{"name":"princjef","email":"princjef@gmail.com"},"dist":{"shasum":"0ec926d2d5fbc16a9f950a5737cd3b30819b0960","size":7926,"noattachment":false,"key":"/get-system-fonts/-/get-system-fonts-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/get-system-fonts/download/get-system-fonts-2.0.1.tgz"},"maintainers":[{"name":"princjef","email":"princjef@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-system-fonts_2.0.1_1555997920754_0.4490720223993103"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T12:51:37.609Z","publish_time":1555997920912,"_cnpm_publish_time":1555997920912},"2.0.0":{"name":"get-system-fonts","version":"2.0.0","description":"List full paths to all system fonts","homepage":"https://github.com/princjef/get-system-fonts#readme","repository":{"type":"git","url":"git+https://github.com/princjef/get-system-fonts.git"},"bugs":{"url":"https://github.com/princjef/get-system-fonts/issues"},"engines":{"node":">8.0.0"},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"commit":"commit","commitmsg":"commitlint -e $GIT_PARAMS","lint":"tslint --project tsconfig.json --fix","clean":"rimraf dist","prebuild":"npm run clean && npm run lint","build":"tsc","watch":"tsc -w","pretest":"npm run build","test":"nyc ava --serial dist/**/*.spec.js","pretest-nocover":"npm run build","test-nocover":"ava --serial dist/**/*.spec.js","show-coverage":"opener ./coverage/index.html","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","prerelease":"npm run build","release":"semantic-release"},"keywords":["font","system","ttf","otf","file"],"author":{"name":"Jeff Principe","email":"princjef@gmail.com"},"license":"MIT","devDependencies":{"@commitlint/cli":"^6.1.3","@commitlint/config-conventional":"^6.1.3","@commitlint/prompt-cli":"^6.1.3","@commitlint/travis-cli":"^6.1.3","@semantic-release/changelog":"^2.1.2","@semantic-release/git":"^7.0.1","@semantic-release/github":"^4.4.2","@semantic-release/npm":"^3.4.1","@types/node":"^8.10.10","@types/sinon":"^4.3.1","ava":"^0.25.0","codecov":"^3.0.1","husky":"^0.14.3","nyc":"^11.7.1","opener":"^1.4.3","rimraf":"^2.6.2","semantic-release":"^15.8.1","sinon":"^4.5.0","tslint":"^5.9.1","tslint-config-standard":"^7.0.0","typescript":"^2.8.3"},"dependencies":{},"nyc":{"sourceMap":true,"reporter":["text","html","json"],"include":["dist/**/*.js"],"exclude":["dist/**/*.spec.*","dist/**/*.d.ts","dist/**/*.map*"],"check-coverage":true,"lines":100,"statements":100,"functions":100,"branches":100,"watermarks":{"lines":[100,100],"statements":[100,100],"functions":[100,100],"branches":[100,100]}},"commitlint":{"extends":["@commitlint/config-conventional"]},"release":{"verifyConditions":["@semantic-release/changelog","@semantic-release/github","@semantic-release/npm","@semantic-release/git"],"prepare":[{"path":"@semantic-release/changelog","changelogFile":"CHANGELOG.md"},"@semantic-release/npm","@semantic-release/git"],"publish":["@semantic-release/npm","@semantic-release/github"],"success":["@semantic-release/github"],"fail":["@semantic-release/github"]},"gitHead":"f99ae6e72867559e467d52512d7fb248004939b0","_id":"get-system-fonts@2.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"princjef","email":"princjef@gmail.com"},"dist":{"shasum":"a43b9a33f05c0715a60176d2aad5ce6e98f0a3c6","size":7595,"noattachment":false,"key":"/get-system-fonts/-/get-system-fonts-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/get-system-fonts/download/get-system-fonts-2.0.0.tgz"},"maintainers":[{"name":"princjef","email":"princjef@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-system-fonts_2.0.0_1532912433638_0.4608187142502791"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T12:51:36.737Z","publish_time":1532912433746,"_cnpm_publish_time":1532912433746},"1.0.0":{"name":"get-system-fonts","version":"1.0.0","description":"List full paths to all system fonts","homepage":"https://github.com/princjef/get-system-fonts#readme","repository":{"type":"git","url":"git+https://github.com/princjef/get-system-fonts.git"},"bugs":{"url":"https://github.com/princjef/get-system-fonts/issues"},"engines":{"node":">6.0.0"},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"commit":"commit","commitmsg":"commitlint -e $GIT_PARAMS","lint":"tslint --project tsconfig.json --fix","clean":"rimraf dist","prebuild":"npm run clean && npm run lint","build":"tsc","watch":"tsc -w","pretest":"npm run build","test":"nyc ava --serial dist/**/*.spec.js","pretest-nocover":"npm run build","test-nocover":"ava --serial dist/**/*.spec.js","show-coverage":"opener ./coverage/index.html","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov","prerelease":"npm run build","release":"semantic-release"},"keywords":["font","system","ttf","otf","file"],"author":{"name":"Jeff Principe","email":"princjef@gmail.com"},"license":"MIT","devDependencies":{"@commitlint/cli":"^6.1.3","@commitlint/config-conventional":"^6.1.3","@commitlint/prompt-cli":"^6.1.3","@commitlint/travis-cli":"^6.1.3","@types/node":"^8.10.10","@types/sinon":"^4.3.1","ava":"^0.25.0","codecov":"^3.0.1","husky":"^0.14.3","nyc":"^11.7.1","opener":"^1.4.3","rimraf":"^2.6.2","semantic-release":"^15.1.7","sinon":"^4.5.0","tslint":"^5.9.1","tslint-config-standard":"^7.0.0","typescript":"^2.8.3"},"nyc":{"sourceMap":true,"reporter":["text","html","json"],"include":["dist/**/*.js"],"exclude":["dist/**/*.spec.*","dist/**/*.d.ts","dist/**/*.map*"],"check-coverage":true,"lines":100,"statements":100,"functions":100,"branches":100,"watermarks":{"lines":[100,100],"statements":[100,100],"functions":[100,100],"branches":[100,100]}},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"fast-glob":"^2.2.1"},"gitHead":"ed5b43cf2dc01c47e8204dd25058737dcace7f0f","_id":"get-system-fonts@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"princjef","email":"princjef@gmail.com"},"dist":{"shasum":"4bfdf77916bb37f6a271f2d704db367c20c5eeae","size":6175,"noattachment":false,"key":"/get-system-fonts/-/get-system-fonts-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/get-system-fonts/download/get-system-fonts-1.0.0.tgz"},"maintainers":[{"name":"princjef","email":"princjef@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-system-fonts_1.0.0_1524958923045_0.6062859998087753"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T12:51:35.831Z","publish_time":1524958923667,"_cnpm_publish_time":1524958923667}},"readme":"# get-system-fonts\n\n[![Travis CI build status](https://travis-ci.org/princjef/get-system-fonts.svg?branch=master)](https://travis-ci.org/princjef/get-system-fonts)\n[![codecov](https://codecov.io/gh/princjef/get-system-fonts/branch/master/graph/badge.svg)](https://codecov.io/gh/princjef/get-system-fonts)\n[![npm version](https://img.shields.io/npm/v/get-system-fonts.svg)](https://npmjs.org/package/get-system-fonts)\n\nList full paths to all of the system fonts present.\n\n```\nnpm install get-system-fonts\n```\n\n## Usage\n\n```js\nconst getSystemFonts = require('get-system-fonts');\n\n// In an async function...\nconst files = await getSystemFonts(); // ['/Library/Fonts/Georgia.ttf', ...]\n```\n\n## API\n\n### `getSystemFonts([options]): Promise<string[]>`\n\nLists absolute paths to all system fonts\n\n*NOTE: If you're using Typescript, `getSystemFonts()` is available as the \ndefault export.*\n\n**Params**\n\n * `options` [*object*] - Options for configuring retrieval\n    * `additionalFolders` [*string[]*] - Paths to additional folders to\n      recursively scan for font files. Absolute paths are recommended. Default:\n      `[]`\n    * `extensions` [*string[]*] - List of file extensions to treat as font\n      files. Default: `['ttf', 'otf', 'ttc', 'woff', 'woff2']`\n\n## Contributing\n\nWant to contribute to the project? Go check out the [Contribution \nGuide](CONTRIBUTING.md) for instructions to set up your development \nenvironment, open an issue and create a pull request.\n","_attachments":{},"homepage":"https://github.com/princjef/get-system-fonts#readme","bugs":{"url":"https://github.com/princjef/get-system-fonts/issues"},"license":"MIT"}