Gathering detailed insights and metrics for gatsby-source-contentful-locales
Gathering detailed insights and metrics for gatsby-source-contentful-locales
Gathering detailed insights and metrics for gatsby-source-contentful-locales
Gathering detailed insights and metrics for gatsby-source-contentful-locales
npm install gatsby-source-contentful-locales
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
21 Commits
3 Forks
1 Watching
1 Branches
1 Contributors
Updated on 22 Jul 2020
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
2.8%
74
Compared to previous day
Last week
20.3%
361
Compared to previous week
Last month
2.5%
1,416
Compared to previous month
Last year
-52.2%
17,684
Compared to previous year
1
Source plugin for pulling locales from contentful spaces. It creates a list with all the locales available and exposes information like default locale and fallback locale.
1# npm 2npm install --save gatsby-source-contentful-locales 3# yarn 4yarn add gatsby-source-contentful-locales
1// In your gatsby-config.js 2// Learn about environment variables on Gatsby: https://gatsby.dev/env-vars 3module.exports = { 4 plugins: [ 5 { 6 resolve: `gatsby-source-contentful-locales`, 7 options: { 8 spaceId: process.env.CONTENTFUL_SPACE_ID, 9 accessToken: process.env.CONTENTFUL_ACCESS_TOKEN, 10 }, 11 }, 12 ], 13}
spaceId [string][required]
Contentful spaceId
accessToken [string][required]
Contentful delivery api key
1{ 2 allContentfulLocale { 3 totalCount 4 edges { 5 node { 6 id 7 code 8 name 9 default 10 fallbackCode 11 } 12 } 13 } 14 }
1{ 2 "data": { 3 "allContentfulLocale": { 4 "totalCount": 2, 5 "edges": [ 6 { 7 "node": { 8 "id": "a649bd83-324f-55de-9a70-1d94d96880f3", 9 "code": "en-US", 10 "name": "English (United States)", 11 "default": true, 12 "fallbackCode": null 13 } 14 }, 15 { 16 "node": { 17 "id": "74a15964-622b-5992-af9b-fea2e2d8fd69", 18 "code": "es", 19 "name": "Spanish", 20 "default": false, 21 "fallbackCode": "en-US" 22 } 23 } 24 ] 25 } 26 } 27}
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
Found 0/16 approved changesets -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
50 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More