Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Requires all the modules from a folder
To install run this command:
$ npm install folquire
Let's see an example. Suppose we have the following folder structure:
+-- math
| +-- add.js
| +-- subtract.js
| +-- multiply.js
| +-- divide.js
+-- index.js
index.js
'use strict'
const { join } = require('path')
const folquire = require('folquire')
const math = folquire(join(__dirname, 'math'))
math.add(1, 2) // 2
math.subtract(8, 4) // 4
math.multiply(6, 7) // 42
math.divide(20, 10) // 2
index.js
'use strict'
const { join } = require('path')
const folquire = require('folquire')
folquire(join(__dirname, 'math'))
.then(math => {
math.add(1, 2) // 2
math.subtract(8, 4) // 4
math.multiply(6, 7) // 42
math.divide(20, 10) // 2
})
'use strict'
const { join } = require('path')
const folquire = require('folquire')
const modules = folquire(join(__dirname, 'math'), {
ignore: ['add.js']
})
Black Tech by Gabriel Rufino 🖤
FAQs
Requires all the modules from a folder
The npm package folquire receives a total of 10 weekly downloads. As such, folquire popularity was classified as not popular.
We found that folquire demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.