{"id":15389713,"url":"https://github.com/joshgillies/node-matrix-file-types","last_synced_at":"2026-05-18T05:12:32.948Z","repository":{"id":33653382,"uuid":"37305849","full_name":"joshgillies/node-matrix-file-types","owner":"joshgillies","description":"Map files via file extention to a Squiz Matrix file assets","archived":false,"fork":false,"pushed_at":"2016-09-25T23:08:52.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-06T13:17:47.622Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joshgillies.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-12T06:28:08.000Z","updated_at":"2016-09-25T23:07:10.000Z","dependencies_parsed_at":"2022-09-14T17:12:19.712Z","dependency_job_id":null,"html_url":"https://github.com/joshgillies/node-matrix-file-types","commit_stats":{"total_commits":16,"total_committers":2,"mean_commits":8.0,"dds":0.0625,"last_synced_commit":"20917ad1638406cff465bc8fbaecb5c5e292f085"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshgillies%2Fnode-matrix-file-types","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshgillies%2Fnode-matrix-file-types/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshgillies%2Fnode-matrix-file-types/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshgillies%2Fnode-matrix-file-types/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joshgillies","download_url":"https://codeload.github.com/joshgillies/node-matrix-file-types/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240434240,"owners_count":19800548,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T15:03:05.297Z","updated_at":"2026-05-18T05:12:27.916Z","avatar_url":"https://github.com/joshgillies.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-matrix-file-types\n\nMap files via file extention to a Squiz Matrix file assets\n\n[![Build Status](https://travis-ci.org/joshgillies/node-matrix-file-types.svg)](https://travis-ci.org/joshgillies/node-matrix-file-types)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)\n\n## Example\n\n```js\nvar fileAsset = require('node-matrix-file-type')\n\nfileAsset('image.jpg') // 'image'\nfileAsset('styles.css') // 'css_file'\nfileAsset('scripts.js') // 'js_file'\nfileAsset('file.txt') // 'text_file'\nfileAsset('unknown.file') // 'file'\n\n// etc\n\n```\n\n## API\n\n### var fileAsset = require('node-matrix-file-types')\n\n### fileAsset(file)\n\nThe `file` argument accepts a String representing the the file you wish to retrieve\nan appropriate file asset type code for. Returns `'file'` by default.\n\n## Licence\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshgillies%2Fnode-matrix-file-types","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshgillies%2Fnode-matrix-file-types","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshgillies%2Fnode-matrix-file-types/lists"}