Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
gl-w-attachment-frontend
Advanced tools
Common code for using among web front-end development such as ES6+ and TypeScript
This package (glaucioleonardo-web-attachment-frontend) is a common code for using among web front-end development
such as ES6+ and TypeScript.
This package contains the types for using with Typescript.
The easiest way to install this library is via npm using the following commands:
npm install gl-w-frontend --save
;npm install gl-w-attachment-frontend@version --save
;If you are using only browser version:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>gl-w-frontend</title>
...
</head>
<body>
...
<!-- Dependencies must be placed in order -->
<script src="https://code.jquery.com/jquery-3.5.1.js"></script>
<script
src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js"
integrity="sha256-VazP97ZCwtekAsvgPBSUwPFKdrwD3unUfSGVYrahUqU="
crossorigin="anonymous">
</script>
<script src="https://github.com/sindresorhus/screenfull.js/blob/master/dist/screenfull.min.js"></script>
<script src="https://github.com/moment/moment/blob/develop/dist/moment.js"></script>
<script src="https://github.com/rotaready/moment-range/blob/master/lib/moment-range.js"></script>
<!-- Excel dependencies -->
<script lang="javascript" src="https://github.com/SheetJS/sheetjs/tree/master/dist/xlsx.full.min.js"></script>
<script lang="javascript" src="https://github.com/dtjohnson/xlsx-populate/blob/master/browser/xlsx-populate.js"></script>
<!-- Include here -->
<script src="https://github.com/glaucioleonardo/gl-w-frontend/tree/master/lib/index.js"></script>
<!-- or just download this repo and refer to the index.js like this -->
<script src="js/index.js"></script>
</body>
</html>
The library "moment-range" makes use of Symbol.iterator
to provide the iteration protocols.
If you need to support older browsers (specifically IE11+) you will need to include a polyfill.
Any of the following should work, depending on your project configuration:
core-js: Tested with this polyfill (working on IE10+).
In case you are using ES+, just use the bundle.js
inside lib/es6
node_module/gl-w-frontend/lib/assets
;angular.json
and paste this code in :{
...
"projects": {
"my-project-angular": {
...
"architect": {
"build": {
...
"options": {
...
"assets": [
...
{
"glob": "**/*",
"input": "node_modules/gl-w-frontend/lib/assets",
"output": "/assets"
}
],
},
...
},
...
}
}},
...
}
AttachmentIcon.get(..., folderUrl: string /*inform the folser url*/)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>gl-w-frontend</title>
...
</head>
<body>
...
</body>
</html>
Array
Attachment
Browser (Check version, fullscreen)
ComboBox / Autocomplete
Date / Time
Image
Input
Dom Elements
String
Export: Data to excel.
Other features is going to be included frequently.
I'm really thankful for those packages creators!
FAQs
Common code for using among web front-end development such as ES6+ and TypeScript
The npm package gl-w-attachment-frontend receives a total of 6 weekly downloads. As such, gl-w-attachment-frontend popularity was classified as not popular.
We found that gl-w-attachment-frontend demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.