Installations
npm install react-ace-new
Developer Guide
Typescript
Yes
Module System
CommonJS
Node Version
8.9.3
NPM Version
5.3.0
Score
61.8
Supply Chain
95.1
Quality
74.2
Maintenance
100
Vulnerability
99.3
License
Releases
Contributors
Languages
TypeScript (77.48%)
JavaScript (21.48%)
HTML (0.98%)
CSS (0.06%)
Developer
Download Statistics
Total Downloads
641
Last Day
1
Last Week
2
Last Month
4
Last Year
61
GitHub Statistics
4,103 Stars
1,637 Commits
605 Forks
31 Watching
136 Branches
112 Contributors
Package Meta Information
Latest Version
6.1.5
Package Id
react-ace-new@6.1.5
Unpacked Size
2.00 MB
Size
460.96 kB
File Count
61
NPM Version
5.3.0
Node Version
8.9.3
Total Downloads
Cumulative downloads
Total Downloads
641
Last day
0%
1
Compared to previous day
Last week
100%
2
Compared to previous week
Last month
100%
4
Compared to previous month
Last year
-47.9%
61
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dev Dependencies
27
React-Ace
A set of react components for Ace / Brace
DEMO of React Ace Split Editor
Install
npm install react-ace
Basic Usage
1import React from 'react'; 2import { render } from 'react-dom'; 3import brace from 'brace'; 4import AceEditor from 'react-ace'; 5 6import 'brace/mode/java'; 7import 'brace/theme/github'; 8 9function onChange(newValue) { 10 console.log('change',newValue); 11} 12 13// Render editor 14render( 15 <AceEditor 16 mode="java" 17 theme="github" 18 onChange={onChange} 19 name="UNIQUE_ID_OF_DIV" 20 editorProps={{$blockScrolling: true}} 21 />, 22 document.getElementById('example') 23);
Examples
Checkout the example
directory for a working example using webpack.
Documentation
How to add modes, themes and keyboard handlers
Backers
Support us with a monthly donation and help us continue our activities. [Become a backer]
Sponsors
Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
27 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
SAST tool is run on all commits
Details
- Info: SAST configuration detected: CodeQL
- Info: all commits (28) are checked with a SAST tool
Reason
2 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w
Reason
Found 2/4 approved changesets -- score normalized to 5
Reason
dependency not pinned by hash detected -- score normalized to 4
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/securingsincity/react-ace/codeql-analysis.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/securingsincity/react-ace/codeql-analysis.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/securingsincity/react-ace/codeql-analysis.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/securingsincity/react-ace/codeql-analysis.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/securingsincity/react-ace/node.js.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/securingsincity/react-ace/node.js.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/node.js.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/securingsincity/react-ace/node.js.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/securingsincity/react-ace/npm-publish.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/securingsincity/react-ace/npm-publish.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/securingsincity/react-ace/npm-publish.yml/main?enable=pin
- Info: 0 out of 9 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 1 third-party GitHubAction dependencies pinned
- Info: 2 out of 2 npmCommand dependencies pinned
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1
- Warn: no topLevel permission defined: .github/workflows/node.js.yml:1
- Warn: no topLevel permission defined: .github/workflows/npm-publish.yml:1
- Info: no jobLevel write permissions found
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Score
6.1
/10
Last Scanned on 2024-12-16
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