nv-facutil-nt

1.0.2 • Public • Published

nv-facutil-nt

  • SLOW named-tuple, for config using

install

  • npm install nv-facutil-nt

splitted

usage

  const x   = require("nv-facutil-nt");

example

	> x
	[Function: creat] {
	  rename: Symbol(rename),
	  swapk: Symbol(swapk),
	  swapv: Symbol(swapv),
	  foreach: Symbol(foreach),
	  map: Symbol(map),
	  filter: Symbol(filter),
	  to_ary: Symbol(to_ary),
	  to_st: Symbol(to_st),
	  to_mp: Symbol(to_mp),
	  to_dict: Symbol(to_dict)
	}
	
            > var nt = x({a:100,b:200})
            > nt
	Proxy [
	  NamedTuple { ks: [ 'a', 'b' ], vs: [ 100, 200 ] },
	  {
	    get: [Function: get],
	    set: [Function: set],
	    deleteProperty: [Function: deleteProperty]
	  }
	]
	
            > nt[x.map]((v,k,i,self)=>[k+i,v])
	Proxy [
	  NamedTuple { ks: [ 'a0', 'b1' ], vs: [ 100, 200 ] },
	  {
	    get: [Function: get],
	    set: [Function: set],
	    deleteProperty: [Function: deleteProperty]
	  }
	]
	> 

METHODS

APIS

LICENSE

  • ISC

Readme

Keywords

none

Package Sidebar

Install

npm i nv-facutil-nt

Weekly Downloads

0

Version

1.0.2

License

ISC

Unpacked Size

10.3 kB

Total Files

3

Last publish

Collaborators

  • ihgazni2