id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
Providers/Providers_49_1.txt | ned by the executions of hash .
This is only supported on nodes with archive access and with the necessary
debug APIs enabled.
Resolves to the ENS name associated for the address or null if the
primary name is not configured.
Users must perform additional steps to configure a primary name , which is
not cu... | |
Providers/indexjs_56_0.txt | [ ](/SuhailTechInfo/Suhail-Md/commits/main/index.js) | |
Providers/howtousethejavascrip_46_0.txt | If you read this far, thank the author to show them you care. Say Thanks | |
Providers/const_19_0.txt | ](/en-US/docs/Web/API) | |
Providers/requiringmodulesinno_97_0.txt | #### Circular module dependency | |
Providers/indexjs_76_0.txt | await bot . connect ( ) | |
Providers/Providers_49_0.txt | METHODS
io/ethers.js/blob/main/src.ts/providers/provider.ts#L1985) provider .
broadcastTransaction ( signedTx : string ) ⇒ Promise< [
TransactionResponse ](/v6/api/providers/#TransactionResponse) >
Broadcasts the signedTx to the network, adding it to the memory pool of any
node for which the transaction mee... | |
Providers/howtousethejavascrip_10_0.txt | In this article, you will learn what the ` require() ` function does, how you
can use it, and some distinct differences between the require and import
functions. | |
Providers/howtousethejavascrip_25_0.txt | // index.js
const getFullName = require('./utils.js');
console.log(getFullName('John', 'Doe')); // My fullname is John Doe | |
Providers/requiringmodulesinno_113_0.txt | Requiring JSON files is useful if, for example, everything you need to manage
in that file is some static configuration values, or some values that you
periodically read from an external source. For example, if we had the
following ` config.json ` file: | |
Providers/requiringmodulesinno_26_0.txt | require('find-me'); | |
Providers/requiringmodulesinno_25_0.txt | When we require a ` 'find-me' ` module, without specifying a path: | |
Providers/const_9_0.txt | Code used to describe document style | |
Providers/requiringmodulesinno_15_0.txt | In this article, I’ll attempt to explain with examples these different stages
and how they affect the way we write modules in Node. | |
Providers/requiringmodulesinno_141_0.txt | The answer is simple. Before compiling a module, Node wraps the module code in
a function, which we can inspect using the ` wrapper ` property of the `
module ` module. | |
Providers/requiringmodulesinno_166_0.txt | The require object also has properties of its own. We’ve seen the ` resolve `
property, which is a function that performs only the resolving step of the
require process. We’ve also seen ` require.extensions ` above. | |
Providers/indexjs_78_0.txt | Debug . error ( error ) ; | |
Providers/const_126_0.txt | ## Browser compatibility | |
Providers/requiringmodulesinno_72_0.txt | // Add the following line at the top of lib/util.js
exports.id = 'lib/util'; | |
Providers/requiringmodulesinno_53_0.txt | If you want to only resolve the module and not execute it, you can use the `
require.resolve ` function. This behaves exactly the same as the main `
require ` function, but does not load the file. It will still throw an error
if the file does not exist and it will return the full path to the file when
found. | |
Providers/indexjs_19_0.txt | Repositories | |
Providers/howtousethejavascrip_48_0.txt | ADVERTISEMENT | |
Providers/requiringmodulesinno_234_0.txt | ## Our Charity | |
Providers/const_122_0.txt | const result = /(a+)(b+)(c+)/.exec("aaabcc");
const [, a, b, c] = result;
console.log(a, b, c); // "aaa" "b" "cc" | |
Providers/const_87_0.txt | Initial value of the variable. It can be any legal expression. | |
Providers/requiringmodulesinno_224_0.txt | Learn to code for free. freeCodeCamp's open source curriculum has helped more
than 40,000 people get jobs as developers. [ Get started
](https://www.freecodecamp.org/learn/) | |
Providers/requiringmodulesinno_154_0.txt | The wrapping function’s return value is ` module.exports ` . Inside the
wrapped function, we can use the ` exports ` object to change the properties
of ` module.exports ` , but we can’t reassign exports itself because it’s just
a reference. | |
Providers/requiringmodulesinno_131_0.txt | We can use the ` exports ` object to export properties, but we cannot replace
the ` exports ` object directly because it’s just a reference to `
module.exports ` | |
Providers/const_83_0.txt | const name1 = value1;
const name1 = value1, name2 = value2;
const name1 = value1, name2 = value2, /* â¦, */ nameN = valueN; | |
Providers/Providers_38_0.txt | PROPERTIES
io/ethers.js/blob/main/src.ts/providers/provider.ts#L1178)
minedTransactionResponse . blockHash ⇒ string
The block hash this transaction occurred in.
io/ethers.js/blob/main/src.ts/providers/provider.ts#L1173)
minedTransactionResponse . blockNumber ⇒ number
The block number this transaction occurr... | |
Providers/requiringmodulesinno_179_0.txt | To print the header “Hey” in a frame of 5 stars. | |
Providers/const_124_0.txt | ## Specifications | |
Providers/requiringmodulesinno_43_0.txt | Modules don’t have to be files. We can also create a ` find-me ` folder under
` node_modules ` and place an ` index.js ` file in there. The same `
require('find-me') ` line will use that folder’s ` index.js ` file: | |
Providers/const_75_1.txt | Web/JavaScript/Reference/Errors/Unnamed_function_statement)
30. [ SyntaxError: getter and setter for private name #x should either be both static or non-static ](/en-US/docs/Web/JavaScript/Reference/Errors/Either_be_both_static_or_non-static)
31. [ SyntaxError: identifier starts immediately after numeric literal ](/en-... | |
Providers/requiringmodulesinno_211_0.txt | ADVERTISEMENT | |
Providers/howtousethejavascrip_40_0.txt | ADVERTISEMENT | |
Providers/requiringmodulesinno_123_0.txt | Once you have the ` addon.node ` file (or whatever name you specify in `
binding.gyp ` ) then you can natively require it just like any other module: | |
Providers/requiringmodulesinno_35_0.txt | ~/learn-node $ node
> require('find-me');
I am not lost
{}
> | |
Providers/const_2_0.txt | * References [ References ](/en-US/docs/Web)
* [ Overview / Web Technology | |
Providers/Providers_69_0.txt | STATIC METHODS
Register nameOrChainId with a function which returns an instance of a
Network representing that chain.
[ ← Hashing Utilities ](/v6/api/hashing/)
| |
Providers/requiringmodulesinno_19_0.txt | #### Resolving a local path | |
Providers/requiringmodulesinno_184_0.txt | // In print-in-frame.js | |
Providers/Providers_13_0.txt | CREATING INSTANCES
Creates a new EnsPlugin connected to address on the targetNetwork . The
default ENS address and mainnet is used if unspecified.
interface EventFilter
An EventFilter allows efficiently filtering logs (also known as events)
using bloom filters included within blocks.
| |
Providers/requiringmodulesinno_82_0.txt | The ` module.exports ` object in every module is what the ` require ` function
returns when we require that module. For example, change the `
require('./lib/util') ` line in ` index.js ` into: | |
Providers/const_109_0.txt | console.log(MY_FAV); // 7 | |
Providers/indexjs_77_0.txt | } catch ( error ) { | |
Providers/requiringmodulesinno_227_0.txt | Our mission: to help people learn to code for free. We accomplish this by
creating thousands of videos, articles, and interactive coding lessons - all
freely available to the public. | |
Providers/const_57_0.txt | Frequently asked questions about MDN Plus | |
Providers/const_98_0.txt | ### Basic const usage | |
Providers/Providers_42_0.txt | METHODS
io/ethers.js/blob/main/src.ts/providers/plugins-network.ts#L33) networkPlugin
. clone ( ) ⇒ [ NetworkPlugin ](/v6/api/providers/#NetworkPlugin)
Creates a copy of this plugin.
| |
Providers/requiringmodulesinno_5_0.txt |  [ Samer Buna ](/news/author/samerbuna/) | |
Providers/requiringmodulesinno_175_0.txt | Passing 8 and Hello as command line arguments to print “Hello” in a frame of 8
stars. | |
Providers/requiringmodulesinno_60_0.txt | #### Parent-child relation between files | |
Providers/const_81_0.txt | ## Try it | |
Providers/const_37_0.txt | ](/en-US/docs/Learn/CSS) | |
Providers/Providers_14_0.txt | PROPERTIES
io/ethers.js/blob/main/src.ts/providers/provider.ts#L1803) eventFilter .
topics ⇒ [ TopicFilter ](/v6/api/providers/#TopicFilter)
| |
Providers/requiringmodulesinno_207_0.txt | ADVERTISEMENT | |
Providers/const_59_0.txt | * [ Curriculum New ](/en-US/curriculum/)
* [ Blog ](/en-US/blog/)
* [ Play ](/en-US/play)
* [ AI Help Beta ](/en-US/plus/ai-help) | |
Providers/const_75_0.txt | 16. [ Unicode character class escape: \p{...}, \P{...} ](/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Unicode_character_class_escape)
17. [ Wildcard: . ](/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Wildcard)
18. [ Word boundary assertion: \b, \B ](/en-US/docs/Web/JavaScript/Reference/Regular_ex... | |
Providers/indexjs_35_0.txt | To see all available qualifiers, see our [ documentation
](https://docs.github.com/search-github/github-code-search/understanding-
github-code-search-syntax) . | |
Providers/const_88_0.txt | ## Description | |
Providers/requiringmodulesinno_2_0.txt | [ Forum ](https://forum.freecodecamp.org/) [ Donate
](https://www.freecodecamp.org/donate/) | |
Providers/requiringmodulesinno_64_0.txt | ~/learn-node $ echo "console.log('In index', module); require('./lib/util');" > index.js | |
Providers/Providers_21_0.txt | CREATING INSTANCES
io/ethers.js/blob/main/src.ts/providers/plugins-network.ts#L213) new
FeeDataNetworkPlugin ( feeDataFunc : ( provider: [ Provider
](/v6/api/providers/#Provider) ) => Promise< [ FeeData
](/v6/api/providers/#FeeData) > )
Creates a new FeeDataNetworkPlugin .
| |
Providers/howtousethejavascrip_41_0.txt | ADVERTISEMENT | |
Providers/howtousethejavascrip_37_0.txt |
Have fun coding! | |
Providers/Providers_40_0.txt | PROPERTIES
io/ethers.js/blob/main/src.ts/providers/plugins-network.ts#L21) networkPlugin
. name ⇒ string read-only
The name of the plugin.
It is recommended to use reverse-domain-notation, which permits unique names
with a known authority as well as hierarchal entries.
| |
Providers/const_111_0.txt | ` const ` also works on objects and arrays. Attempting to overwrite the object
throws an error "Assignment to constant variable". | |
Providers/Providers_19_0.txt | class FeeDataNetworkPlugin
inherits from [ NetworkPlugin ](/v6/api/providers/#NetworkPlugin)
A FeeDataNetworkPlugin allows a network to provide and alternate means to
specify its fee data.
For example, a network which does not support [ EIP-1559
](https://eips.ethereum.org/EIPS/eip-1559) may choose to use a Gas... | |
Providers/const_113_0.txt |
However, object keys are not protected, so the following statement is executed
without problem. | |
Providers/const_29_0.txt | * [ MDN Learning Area | |
Providers/requiringmodulesinno_188_0.txt | #### All modules will be cached | |
Providers/requiringmodulesinno_56_0.txt | #### Relative and absolute paths | |
Providers/requiringmodulesinno_156_0.txt | function (require, module, __filename, __dirname) {
let exports = module.exports; | |
Providers/requiringmodulesinno_170_0.txt | const printInFrame = (size, header) => {
console.log('*'.repeat(size));
console.log(header);
console.log('*'.repeat(size));
}; | |
Providers/requiringmodulesinno_226_0.txt | freeCodeCamp is a donor-supported tax-exempt 501(c)(3) charity organization
(United States Federal Tax Identification Number: 82-0779546) | |
Providers/requiringmodulesinno_143_0.txt | Node does not execute any code you write in a file directly. It executes this
wrapper function which will have your code in its body. This is what keeps the
top-level variables that are defined in any module scoped to that module. | |
Providers/indexjs_18_0.txt | * [ The ReadME Project GitHub community articles ](https://github.com/readme) | |
Providers/requiringmodulesinno_192_0.txt | We want to display this header every time we _require_ the file. So when we
require the file twice, we want the header to show up twice. | |
U_SQL_cross_apply/currenttimestamptran_55_0.txt | [ View all page feedback ](https://github.com/MicrosoftDocs/sql-docs/issues) | |
U_SQL_cross_apply/dateandtimedatatypes_42_0.txt | ## Date and time-related articles | |
U_SQL_cross_apply/differentsqltimestam_233_0.txt | SELECT | |
U_SQL_cross_apply/devenvsqltimestamppr_21_0.txt |
## Remarks | |
U_SQL_cross_apply/differentsqltimestam_200_0.txt | DATEDIFF_BIG ( hour , '2005-12-31 23:59:59.9999999' , '2022-06-26
23:59:59.9999999' ) as 'hour' , | |
U_SQL_cross_apply/differentsqltimestam_134_0.txt | * DATEFROMPARTS
* It returns a date value from the specified year, month, and day.
* Syntax: **DATEFROMPARTS ( year, month, day )**
* Query: **SELECT DATEFROMPARTS ( 2022, 06, 26 ) AS ‘Date’;** | |
U_SQL_cross_apply/differentsqltimestam_22_0.txt | YYYY-MM-DD hh:mm:ss[.nnn] | |
U_SQL_cross_apply/differentsqltimestam_146_0.txt | [ 

](https://s33046.pcdn.co/wp-content/uploads/2022/11/datetime2fromparts-with-... | |
U_SQL_cross_apply/differentsqltimestam_76_0.txt | SELECT DATENAME(HOUR, GETDATE()) AS ‘Hour’; | |
U_SQL_cross_apply/differentsqltimestam_101_0.txt | SELECT DATEPART(MONTH, GETDATE()) AS ‘Month’; | |
U_SQL_cross_apply/dateandtimedatatypes_17_0.txt | The Transact-SQL date and time data types are listed in the following table: | |
U_SQL_cross_apply/devenvsqltimestamppr_11_0.txt | Feedback | |
U_SQL_cross_apply/differentsqltimestam_177_0.txt | ### Functions to return date and time difference values | |
U_SQL_cross_apply/differentsqltimestam_203_0.txt | ---|--- | |
U_SQL_cross_apply/differentsqltimestam_166_0.txt | Query: **SELECT SMALLDATETIMEFROMPARTS ( 2022, 06, 26, 23, 59 ) AS Result** | |
U_SQL_cross_apply/cross_apply_1_3.txt | ng, SQL.ARRAY<string>>{{"Washington", @anArray}}),
(new SQL.MAP<string, SQL.ARRAY<string>>{{"Oregon", new SQL.ARRAY<string>{"Portland", "Eugene", "Salem"}}})
) AS T(cityMaps);
@result =
SELECT c.key AS State,
n.value AS City
FROM @popularCitiesA
... | |
U_SQL_cross_apply/currenttimestamptran_11_0.txt | Feedback | |
U_SQL_cross_apply/differentsqltimestam_53_0.txt | Datepart | |
U_SQL_cross_apply/differentsqltimestam_153_0.txt | * * If we use a fractions value of 5 and a precision value of 1, the value of fractions represents 5/10 of a second. | |
U_SQL_cross_apply/differentsqltimestam_132_0.txt | 
 | |
U_SQL_cross_apply/cross_apply_3_1.txt | Guide/QSE/Sample/simple_uniform.txt"
USING Outputters.Tsv();
Possible output below. The likelihood of this output is 0.00729 (two rows are
picked with a probability of 0.1 each and three rows not picked with a
probability of 0.9 each). Note: An empty result set may be returned in this
example due to the low p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.